Package de.gematik.idp.client
Class IdpClient
java.lang.Object
de.gematik.idp.client.IdpClient
- All Implemented Interfaces:
IIdpClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlogin(de.gematik.idp.crypto.model.PkiIdentity idpIdentity) login(de.gematik.idp.crypto.model.PkiIdentity smcbIdentity, String codeChallenge, String state, String nonce) login(X509Certificate certificate, UnaryOperator<byte[]> contentSigner) login(X509Certificate certificate, UnaryOperator<byte[]> contentSigner, String codeChallenge, String state, String nonce) loginWithAltAuth(RegistrationData registrationData, PrivateKey privateKey) loginWithSsoToken(IdpJwe ssoToken) voidsetBeforeAuthenticationCallback(Consumer<kong.unirest.core.MultipartBody> callback) voidsetBeforeAuthorizationCallback(Consumer<kong.unirest.core.GetRequest> callback) voidsetBeforeTokenCallback(Consumer<kong.unirest.core.MultipartBody> callback) <T> UnaryOperator<T> toNoopIdentity(Consumer<T> callback) voidverifyAuthTokenToken(IdpTokenResult authToken)
-
Constructor Details
-
IdpClient
public IdpClient()
-
-
Method Details
-
login
- Specified by:
loginin interfaceIIdpClient
-
login
-
login
public AuthorizationCodeResult login(X509Certificate certificate, UnaryOperator<byte[]> contentSigner, String codeChallenge, String state, String nonce) -
login
public AuthorizationCodeResult login(de.gematik.idp.crypto.model.PkiIdentity smcbIdentity, String codeChallenge, String state, String nonce) -
loginWithSsoToken
-
loginWithAltAuth
-
initialize
- Specified by:
initializein interfaceIIdpClient
-
verifyAuthTokenToken
-
setBeforeAuthorizationCallback
-
setBeforeAuthenticationCallback
-
setBeforeTokenCallback
-
toNoopIdentity
-