Package io.quarkus.oidc.runtime
Class OidcTokenCredentialProducer
java.lang.Object
io.quarkus.oidc.runtime.OidcTokenCredentialProducer
-
Field Summary
Modifier and TypeFieldDescription(package private) io.quarkus.security.identity.SecurityIdentity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) AccessTokenCredential
(package private) IdTokenCredential
The producer method for the current id token(package private) RefreshToken
(package private) UserInfo
The producer method for the current UserInfo(package private) TokenIntrospection
The producer method for the ID token TokenIntrospection only.(package private) TokenIntrospection
The producer method for the current TokenIntrospection.(package private) TokenIntrospection
-
Field Details
-
identity
@Inject io.quarkus.security.identity.SecurityIdentity identity
-
-
Constructor Details
-
OidcTokenCredentialProducer
public OidcTokenCredentialProducer()
-
-
Method Details
-
currentIdToken
The producer method for the current id token- Returns:
- the id token
-
currentAccessToken
-
currentRefreshToken
-
currentUserInfo
The producer method for the current UserInfo- Returns:
- the user info
-
idTokenIntrospection
The producer method for the ID token TokenIntrospection only.- Returns:
- the ID token introspection
-
tokenIntrospection
The producer method for the current TokenIntrospection. This TokenIntrospection always represents the bearer access token introspection when the bearer access tokens are used. In case of the authorization code flow, it represents a code flow access token introspection if it has been enabled by setting the `quarkus.oidc.authentication.verify-access-token` property to `true` and an ID token introspection otherwise. Use the `@IdToken` qualifier if both ID and code flow access tokens must be introspected.- Returns:
- the token introspection
-
tokenIntrospectionFromIdentityAttribute
TokenIntrospection tokenIntrospectionFromIdentityAttribute()
-