Class OidcAuthentication
java.lang.Object
com.revetsec.oidc.OidcAuthentication
One fully validated code-flow authentication. The exact issuer and subject pair is the stable account key
(OpenID Connect Core section 5.7); email is never an account key. No public constructor or parse-only factory exists.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionReturns the validated ACR when present.Returns validated authentication method references, or an empty list.Returns the validated authentication time when present.Returns the validated ID token.Returns the exact validated issuer.Returns a persistence reference for continuity checks.Returns the validated subject, scoped to this issuer.Returns endpoint tokens only after ID-token validation.toString()Redacts identity and credentials.
-
Method Details
-
getIssuer
-
getSubject
Returns the validated subject, scoped to this issuer.- Returns:
- subject
- Since:
- 1.0.0
-
getIdToken
-
getTokens
Returns endpoint tokens only after ID-token validation.- Returns:
- tokens
- Since:
- 1.0.0
-
getAuthenticationTime
Returns the validated authentication time when present.- Returns:
- authentication time
- Since:
- 1.0.0
-
getAuthenticationContextClassReference
Returns the validated ACR when present.- Returns:
- ACR
- Since:
- 1.0.0
-
getAuthenticationMethodReferences
Returns validated authentication method references, or an empty list.- Returns:
- authentication methods
- Since:
- 1.0.0
-
getSessionReference
Returns a persistence reference for continuity checks. It is not proof of identity.- Returns:
- session reference
- Since:
- 1.0.0
-
toString
-