Package com.sap.cds.feature.xsuaa
Class XsUaaToken
java.lang.Object
com.sap.cds.feature.xsuaa.XsUaaToken
A parser that converts Base64-encoded bearer tokens issued by XSUAA.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGrant types of special interest -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()static XsUaaTokenTries to extract the token representation from the raw authorization header value.toString()
-
Method Details
-
parse
Tries to extract the token representation from the raw authorization header value.- Parameters:
authorizationHeader- The authorization header value- Returns:
- The token representation
- Throws:
IllegalArgumentException- in case the token could not be parsed.
-
getId
-
getName
-
getTenant
-
getGrantType
-
getClientId
-
getScopes
-
getUserAttributes
-
getSystemAttributes
-
getExtensionAttributes
-
getAdditionalAttributes
-
toString
-