Interface InteractiveLoginProvider
- All Superinterfaces:
AutoCloseable, Extension
- All Known Implementing Classes:
OidcLoginProvider
Browser login protocol adapter. The core owns state, PKCE secrets and local account mapping. Implementations must be
thread-safe and must not return an identity until protocol validation succeeds.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record -
Field Summary
Fields inherited from interface Extension
API_VERSION -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String code, String nonce, String codeVerifier) authenticateFreshMfa(String code, String nonce, String codeVerifier, Instant requestedAt) authorizationUri(String state, String nonce, String codeChallenge) default URIfreshMfaAuthorizationUri(String state, String nonce, String codeChallenge) Methods inherited from interface Extension
apiVersion, close, start
-
Method Details
-
displayName
String displayName() -
authorizationUri
- Throws:
IOException
-
authenticate
InteractiveLoginProvider.ExternalIdentity authenticate(String code, String nonce, String codeVerifier) throws IOException - Throws:
IOException
-
freshMfaAuthorizationUri
default URI freshMfaAuthorizationUri(String state, String nonce, String codeChallenge) throws IOException - Throws:
IOException
-
authenticateFreshMfa
default InteractiveLoginProvider.ExternalIdentity authenticateFreshMfa(String code, String nonce, String codeVerifier, Instant requestedAt) throws IOException - Throws:
IOException
-