public static class AuthTokenBuilder.FluentHelperRefreshToken extends Object implements AuthTokenBuilder.FluentHelperBuild
Constructor and Description |
---|
FluentHelperRefreshToken(String encodedJwt) |
Modifier and Type | Method and Description |
---|---|
AuthToken |
build()
Builds the
AuthToken . |
AuthTokenBuilder.FluentHelperBuild |
refreshToken(String refreshToken)
Specifies to use the given refresh token to refresh the encoded JWT, if expired.
|
@Nonnull public AuthTokenBuilder.FluentHelperBuild refreshToken(@Nonnull String refreshToken)
refreshToken
- The refresh token to be used to refresh the JWT, if necessary.public AuthToken build()
AuthToken
.build
in interface AuthTokenBuilder.FluentHelperBuild
AuthToken
.Copyright © 2019 SAP SE. All rights reserved.