你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphOptionalClaims Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOptionalClaims
- com.
Implements
public final class MicrosoftGraphOptionalClaims
implements JsonSerializable<MicrosoftGraphOptionalClaims>
optionalClaims.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphOptionalClaims() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Microsoft |
accessToken()
Get the access |
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
List<Microsoft |
idToken()
Get the id |
List<Microsoft |
saml2Token()
Get the saml2Token property: The optional claims returned in the SAML token. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAccessToken(List<MicrosoftGraphOptionalClaim> accessToken)
Set the access |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withIdToken(List<MicrosoftGraphOptionalClaim> idToken)
Set the id |
Microsoft |
withSaml2Token(List<MicrosoftGraphOptionalClaim> saml2Token)
Set the saml2Token property: The optional claims returned in the SAML token. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOptionalClaims
public MicrosoftGraphOptionalClaims()
Creates an instance of MicrosoftGraphOptionalClaims class.
Method Details
accessToken
public List
Get the accessToken property: The optional claims returned in the JWT access token.
Returns:
additionalProperties
public Map
Get the additionalProperties property: optionalClaims.
Returns:
fromJson
public static MicrosoftGraphOptionalClaims fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOptionalClaims from the JsonReader.
Parameters:
Returns:
Throws:
idToken
public List
Get the idToken property: The optional claims returned in the JWT ID token.
Returns:
saml2Token
public List
Get the saml2Token property: The optional claims returned in the SAML token.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAccessToken
public MicrosoftGraphOptionalClaims withAccessToken(List
Set the accessToken property: The optional claims returned in the JWT access token.
Parameters:
Returns:
withAdditionalProperties
public MicrosoftGraphOptionalClaims withAdditionalProperties(Map
Set the additionalProperties property: optionalClaims.
Parameters:
Returns:
withIdToken
public MicrosoftGraphOptionalClaims withIdToken(List
Set the idToken property: The optional claims returned in the JWT ID token.
Parameters:
Returns:
withSaml2Token
public MicrosoftGraphOptionalClaims withSaml2Token(List
Set the saml2Token property: The optional claims returned in the SAML token.
Parameters:
Returns: