Class AuthTokenBuilder
java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.AuthTokenBuilder
Deprecated.
Utility class to manage decoding and encoding of JWT.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.Fluent helper to chain operations.static classDeprecated.Fluent helper to chain operations.static classDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodedJwt(com.auth0.jwt.interfaces.DecodedJWT decodedJwt) Deprecated.Use aDecodedJWTfor constructing theAuthToken.encodedJwt(String encodedJwt) Deprecated.Use an encoded JWT for constructing theAuthToken.Deprecated.Use an non-validated, unsigned JWT for constructing theAuthToken.
-
Constructor Details
-
AuthTokenBuilder
public AuthTokenBuilder()Deprecated.
-
-
Method Details
-
decodedJwt
@Nonnull public AuthTokenBuilder.FluentHelperBuild decodedJwt(@Nonnull com.auth0.jwt.interfaces.DecodedJWT decodedJwt) Deprecated.Use aDecodedJWTfor constructing theAuthToken.- Parameters:
decodedJwt- The decoded JWT. The given value will be used without any validation.- Returns:
- A fluent helper to chain operations.
-
encodedJwt
Deprecated.Use an encoded JWT for constructing theAuthToken.- Parameters:
encodedJwt- The encoded JWT. The given value will be validated and decoded.- Returns:
- A fluent helper to chain operations.
-
unsignedJwt
Deprecated.Use an non-validated, unsigned JWT for constructing theAuthToken. This artificial JWT can be used in theexecutemethods ofAuthTokenAccessor.- Returns:
- A fluent helper to chain operations.
-