Package io.trino.server.security.oauth2
Interface OAuth2Client
-
- All Known Implementing Classes:
ScribeJavaOAuth2Client
public interface OAuth2Client
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOAuth2Client.OAuth2Response
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URIgetAuthorizationUri(String state, URI callbackUri, Optional<String> nonceHash)OAuth2Client.OAuth2ResponsegetOAuth2Response(String code, URI callbackUri)
-
-
-
Method Detail
-
getAuthorizationUri
URI getAuthorizationUri(String state, URI callbackUri, Optional<String> nonceHash)
-
getOAuth2Response
OAuth2Client.OAuth2Response getOAuth2Response(String code, URI callbackUri) throws ChallengeFailedException
- Throws:
ChallengeFailedException
-
-