Package de.gematik.idp.client
Class AuthenticatorClient
java.lang.Object
de.gematik.idp.client.AuthenticatorClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoAuthorizationRequest(AuthorizationRequest authorizationRequest, UnaryOperator<kong.unirest.core.GetRequest> beforeCallback, Consumer<kong.unirest.core.HttpResponse<AuthenticationChallenge>> afterCallback) getAllFieldElementsAsMap(kong.unirest.core.MultipartBody request) getAllHeaderElementsAsMap(kong.unirest.core.HttpRequest request) performAuthentication(AuthenticationRequest authenticationRequest, UnaryOperator<kong.unirest.core.MultipartBody> beforeAuthenticationCallback, Consumer<kong.unirest.core.HttpResponse<String>> afterAuthenticationCallback) performAuthenticationWithAltAuth(AuthenticationRequest authenticationRequest, UnaryOperator<kong.unirest.core.MultipartBody> beforeAuthenticationMapper, Consumer<kong.unirest.core.HttpResponse<String>> afterAuthenticationCallback) performAuthenticationWithSsoToken(AuthenticationRequest authenticationRequest, UnaryOperator<kong.unirest.core.MultipartBody> beforeAuthenticationCallback, Consumer<kong.unirest.core.HttpResponse<String>> afterAuthenticationCallback) retrieveAccessToken(TokenRequest tokenRequest, UnaryOperator<kong.unirest.core.MultipartBody> beforeTokenCallback, Consumer<kong.unirest.core.HttpResponse<kong.unirest.core.JsonNode>> afterTokenCallback) retrieveDiscoveryDocument(String discoveryDocumentUrl, Optional<String> fixedIdpHost)
-
Constructor Details
-
AuthenticatorClient
public AuthenticatorClient()
-
-
Method Details
-
getAllHeaderElementsAsMap
-
getAllFieldElementsAsMap
-
doAuthorizationRequest
public AuthorizationResponse doAuthorizationRequest(AuthorizationRequest authorizationRequest, UnaryOperator<kong.unirest.core.GetRequest> beforeCallback, Consumer<kong.unirest.core.HttpResponse<AuthenticationChallenge>> afterCallback) -
performAuthentication
public AuthenticationResponse performAuthentication(AuthenticationRequest authenticationRequest, UnaryOperator<kong.unirest.core.MultipartBody> beforeAuthenticationCallback, Consumer<kong.unirest.core.HttpResponse<String>> afterAuthenticationCallback) -
performAuthenticationWithSsoToken
public AuthenticationResponse performAuthenticationWithSsoToken(AuthenticationRequest authenticationRequest, UnaryOperator<kong.unirest.core.MultipartBody> beforeAuthenticationCallback, Consumer<kong.unirest.core.HttpResponse<String>> afterAuthenticationCallback) -
performAuthenticationWithAltAuth
public AuthenticationResponse performAuthenticationWithAltAuth(AuthenticationRequest authenticationRequest, UnaryOperator<kong.unirest.core.MultipartBody> beforeAuthenticationMapper, Consumer<kong.unirest.core.HttpResponse<String>> afterAuthenticationCallback) -
retrieveAccessToken
public IdpTokenResult retrieveAccessToken(TokenRequest tokenRequest, UnaryOperator<kong.unirest.core.MultipartBody> beforeTokenCallback, Consumer<kong.unirest.core.HttpResponse<kong.unirest.core.JsonNode>> afterTokenCallback) -
retrieveDiscoveryDocument
public DiscoveryDocumentResponse retrieveDiscoveryDocument(String discoveryDocumentUrl, Optional<String> fixedIdpHost)
-