Package io.trino.server.security.oauth2
Interface OAuth2Client
- All Known Implementing Classes:
ScribeJavaOAuth2Client
public interface OAuth2Client
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetAuthorizationUri(String state, URI callbackUri, Optional<String> nonceHash) getOAuth2Response(String code, URI callbackUri)
-
Method Details
-
getAuthorizationUri
-
getOAuth2Response
OAuth2Client.OAuth2Response getOAuth2Response(String code, URI callbackUri) throws ChallengeFailedException - Throws:
ChallengeFailedException
-