Package org.apache.polaris.service.auth
Interface DecodedToken
- All Superinterfaces:
PrincipalAuthInfo
A specialized
PrincipalAuthInfo used for internal authentication, when Polaris is the
identity provider.-
Method Summary
Methods inherited from interface org.apache.polaris.service.auth.PrincipalAuthInfo
getPrincipalId
-
Method Details
-
getClientId
String getClientId() -
getSub
String getSub() -
getScope
String getScope() -
getPrincipalName
Description copied from interface:PrincipalAuthInfoThe principal name, or null if unknown. Used for principal lookups by name.- Specified by:
getPrincipalNamein interfacePrincipalAuthInfo
-
getPrincipalRoles
Description copied from interface:PrincipalAuthInfoThe principal roles present in the token. The specialDefaultAuthenticator.PRINCIPAL_ROLE_ALLcan be used to denote a request for all principal roles that the principal has access to.- Specified by:
getPrincipalRolesin interfacePrincipalAuthInfo
-