Package io.trino.server.security.oauth2
Interface OAuth2Client
- All Known Implementing Classes:
NimbusOAuth2Client
public interface OAuth2Client
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptioncreateAuthorizationRequest(String state, URI callbackUri) getLogoutEndpoint(Optional<String> idToken, URI callbackUrl) getOAuth2Response(String code, URI callbackUri, Optional<String> nonce) voidload()refreshTokens(String refreshToken)
-
Method Details
-
load
void load() -
createAuthorizationRequest
-
getOAuth2Response
OAuth2Client.Response getOAuth2Response(String code, URI callbackUri, Optional<String> nonce) throws ChallengeFailedException - Throws:
ChallengeFailedException
-
getClaims
-
refreshTokens
- Throws:
ChallengeFailedException
-
getLogoutEndpoint
-