public abstract class BaseOauth2AuthorizationCodeAuthenticator extends Object implements Oauth2Authenticator
Constructor and Description |
---|
BaseOauth2AuthorizationCodeAuthenticator() |
Modifier and Type | Method and Description |
---|---|
Oauth2AuthResult |
authenticateByRedirectingUserToIdp() |
Optional<String> |
authenticatedUserName(String code) |
protected boolean |
checkIfEmailIsAllowed(String email) |
protected String |
exchangeCodeToTokenAndYieldEmail(String authCode) |
protected com.nimbusds.oauth2.sdk.id.ClientID |
getClientID() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProvider
public BaseOauth2AuthorizationCodeAuthenticator()
@Transactional public Oauth2AuthResult authenticateByRedirectingUserToIdp()
authenticateByRedirectingUserToIdp
in interface Oauth2Authenticator
public Optional<String> authenticatedUserName(String code)
authenticatedUserName
in interface Oauth2Authenticator
protected boolean checkIfEmailIsAllowed(String email)
protected com.nimbusds.oauth2.sdk.id.ClientID getClientID()
Copyright © 2020. All rights reserved.