public interface OidcIdentityProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
OPEN_ID_CONNECT_SUPPORT_IS_NOT_CONFIGURED |
| Modifier and Type | Method and Description |
|---|---|
String |
exchangeAuthorizationCodeForAccessToken(com.nimbusds.oauth2.sdk.AuthorizationGrant authorizationGrant)
Exchanges the supplied authorization grant for an Access Token.
|
String |
exchangeAuthorizationCodeForIdToken(com.nimbusds.oauth2.sdk.AuthorizationGrant authorizationGrant)
Exchanges the supplied authorization grant for an ID Token.
|
LoginAuthenticationToken |
exchangeAuthorizationCodeforLoginAuthenticationToken(com.nimbusds.oauth2.sdk.AuthorizationGrant authorizationGrant)
Exchanges the supplied authorization grant for a Login ID Token.
|
URI |
getAuthorizationEndpoint()
Returns the URI for the authorization endpoint.
|
com.nimbusds.oauth2.sdk.id.ClientID |
getClientId()
Returns the configured client id.
|
URI |
getEndSessionEndpoint()
Returns the URI for the end session endpoint.
|
URI |
getRevocationEndpoint()
Returns the URI for the revocation endpoint.
|
com.nimbusds.oauth2.sdk.Scope |
getScope()
Returns the scopes supported by the OIDC provider.
|
void |
initializeProvider()
Initializes the provider.
|
boolean |
isOidcEnabled()
Returns whether OIDC support is enabled.
|
static final String OPEN_ID_CONNECT_SUPPORT_IS_NOT_CONFIGURED
void initializeProvider()
boolean isOidcEnabled()
com.nimbusds.oauth2.sdk.id.ClientID getClientId()
URI getAuthorizationEndpoint()
URI getEndSessionEndpoint()
URI getRevocationEndpoint()
com.nimbusds.oauth2.sdk.Scope getScope()
LoginAuthenticationToken exchangeAuthorizationCodeforLoginAuthenticationToken(com.nimbusds.oauth2.sdk.AuthorizationGrant authorizationGrant) throws IOException
authorizationGrant - authorization grant for invoking the Token EndpointIOException - if there was an exceptional error while communicating with the OIDC providerString exchangeAuthorizationCodeForAccessToken(com.nimbusds.oauth2.sdk.AuthorizationGrant authorizationGrant) throws Exception
authorizationGrant - authorization grant for invoking the Token EndpointException - if there was an exceptional error while communicating with the OIDC providerString exchangeAuthorizationCodeForIdToken(com.nimbusds.oauth2.sdk.AuthorizationGrant authorizationGrant) throws IOException
authorizationGrant - authorization grant for invoking the Token EndpointIOException - if there was an exceptional error while communicating with the OIDC providerCopyright © 2023 Apache NiFi Project. All rights reserved.