Interface OAuth2IntrospectionClaimAccessor
-
- All Superinterfaces:
ClaimAccessor,OAuth2TokenIntrospectionClaimAccessor
- All Known Implementing Classes:
OAuth2IntrospectionAuthenticatedPrincipal
@Deprecated public interface OAuth2IntrospectionClaimAccessor extends OAuth2TokenIntrospectionClaimAccessor
Deprecated.UseOAuth2TokenIntrospectionClaimAccessorinsteadAClaimAccessorfor the "claims" that may be contained in the Introspection Response.- Since:
- 5.4
- See Also:
ClaimAccessor,OAuth2IntrospectionClaimNames,OAuth2IntrospectionAuthenticatedPrincipal, Introspection Response
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.StringgetScope()Deprecated.Since 5.6.-
Methods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
containsClaim, getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, getClaims, hasClaim
-
Methods inherited from interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
getAudience, getClientId, getExpiresAt, getId, getIssuedAt, getIssuer, getNotBefore, getScopes, getSubject, getTokenType, getUsername, isActive
-
-
-
-
Method Detail
-
getScope
@Nullable default java.lang.String getScope()
Deprecated.Since 5.6. UseOAuth2TokenIntrospectionClaimAccessor.getScopes()insteadReturns the scopes(scope)associated with the token- Returns:
- the scopes associated with the token
-
-