Interface TokenResponse.IBuildStage
- All Known Implementing Classes:
TokenResponse.Builder
- Enclosing class:
- TokenResponse
public static interface TokenResponse.IBuildStage
Build stage interface.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Do the build.withExpiresIn(Integer expiresIn) Supply the expiration.withRefreshToken(String refreshToken) Supply the refresh token.Supply the scope.
-
Method Details
-
withRefreshToken
Supply the refresh token.- Parameters:
refreshToken- the refresh token- Returns:
- this builder
-
withExpiresIn
Supply the expiration.- Parameters:
expiresIn- the expiration- Returns:
- this builder
-
withScope
Supply the scope.- Parameters:
scope- the scope- Returns:
- this builder
-
build
TokenResponse build()Do the build.- Returns:
- the response
-