Class JwtClaimChecks
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.JwtClaimChecks
-
public final class JwtClaimChecks extends Object
The configuration settings of the checks that should be made while validating the JWT Claims.
-
-
Constructor Summary
Constructors Constructor Description JwtClaimChecks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
allowedClientApplications()
Get the allowedClientApplications property: The list of the allowed client applications.List<String>
allowedGroups()
Get the allowedGroups property: The list of the allowed groups.void
validate()
Validates the instance.JwtClaimChecks
withAllowedClientApplications(List<String> allowedClientApplications)
Set the allowedClientApplications property: The list of the allowed client applications.JwtClaimChecks
withAllowedGroups(List<String> allowedGroups)
Set the allowedGroups property: The list of the allowed groups.
-
-
-
Method Detail
-
allowedGroups
public List<String> allowedGroups()
Get the allowedGroups property: The list of the allowed groups.- Returns:
- the allowedGroups value.
-
withAllowedGroups
public JwtClaimChecks withAllowedGroups(List<String> allowedGroups)
Set the allowedGroups property: The list of the allowed groups.- Parameters:
allowedGroups
- the allowedGroups value to set.- Returns:
- the JwtClaimChecks object itself.
-
allowedClientApplications
public List<String> allowedClientApplications()
Get the allowedClientApplications property: The list of the allowed client applications.- Returns:
- the allowedClientApplications value.
-
withAllowedClientApplications
public JwtClaimChecks withAllowedClientApplications(List<String> allowedClientApplications)
Set the allowedClientApplications property: The list of the allowed client applications.- Parameters:
allowedClientApplications
- the allowedClientApplications value to set.- Returns:
- the JwtClaimChecks object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-