Package io.quarkus.oidc
Interface OidcProviderClient
- All Known Implementing Classes:
OidcProviderClientImpl
public interface OidcProviderClient
Provides access to OIDC UserInfo, token introspection and revocation endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<UserInfo>getUserInfo(String accessToken) Get UserInfo.io.smallrye.mutiny.Uni<TokenIntrospection>introspectAccessToken(String accessToken) Introspect the access token.io.smallrye.mutiny.Uni<Boolean>revokeAccessToken(String accessToken) Revoke the access token.io.smallrye.mutiny.Uni<Boolean>revokeRefreshToken(String refreshToken) Revoke the refresh token.
-
Method Details
-
getUserInfo
Get UserInfo.- Parameters:
accessToken- access token which is required to access a UserInfo endpoint.- Returns:
- Uni
UserInfo
-
introspectAccessToken
Introspect the access token.- Parameters:
accessToken- access oken which must be introspected.- Returns:
- Uni
TokenIntrospection
-
revokeAccessToken
Revoke the access token.- Parameters:
accessToken- access token which needs to be revoked.- Returns:
- Uni
true if the access token has been revoked or found already being invalidated, false if the access token can not be currently revoked in which case a revocation request might be retried.
-
revokeRefreshToken
Revoke the refresh token.- Parameters:
refreshToken- refresh token which needs to be revoked.- Returns:
- Uni
true if the refresh token has been revoked or found already being invalidated, false if the refresh token can not be currently revoked in which case a revocation request might be retried.
-