Class AuthenticationApi.VerifyMfaCode
- java.lang.Object
-
- de.xima.fc.api.rest.pub.client.security.ApiCall<Self>
-
- de.xima.fc.api.rest.pub.client.security.EndpointCategoryCall<AuthenticationApi.VerifyMfaCode>
-
- de.xima.fc.api.rest.pub.client.security.api.AuthenticationApi.VerifyMfaCode
-
- Enclosing class:
- AuthenticationApi
public final class AuthenticationApi.VerifyMfaCode extends EndpointCategoryCall<AuthenticationApi.VerifyMfaCode>
Handler for theverifyMfaCodeAPI method that lets you choose the content type via theAcceptheader.
-
-
Field Summary
-
Fields inherited from class de.xima.fc.api.rest.pub.client.security.ApiCall
accept, apiCallInterceptor, authentications, authNames, body, cookieParams, headerParams, method, path, properties, queryParams, returnTypes
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends EndpointCategory>endpointCategory()ApiInvocation<MfaVerificationResponse>requestJson()Calls the API with theAcceptheader set toapplication/json; charset=utf-8.ApiInvocation<MfaVerificationResponse>requestJson_v1_0()Calls the API with theAcceptheader set toapplication/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8.protected AuthenticationApi.VerifyMfaCodeself()AuthenticationApi.VerifyMfaCodewithSave(Boolean save)Sets the optional parameter save for the API call.-
Methods inherited from class de.xima.fc.api.rest.pub.client.security.ApiCall
accept, accept, apiCallInterceptor, apiCallInterceptor, authentication, authentications, authentications, authNames, authNames, body, body, body, cookieParam, cookieParams, cookieParams, headerParam, headerParams, headerParams, method, method, path, path, properties, properties, property, queryParam, queryParams, queryParams, returnTypes, returnTypes
-
-
-
-
Method Detail
-
self
protected AuthenticationApi.VerifyMfaCode self()
- Specified by:
selfin classApiCall<AuthenticationApi.VerifyMfaCode>
-
withSave
public AuthenticationApi.VerifyMfaCode withSave(Boolean save)
Sets the optional parameter save for the API call.- Parameters:
save- (optional, default to false)- Returns:
- This handler for chaining method calls.
- Throws:
IllegalArgumentException- When the parameter does not confirm to the expected format.
-
endpointCategory
public Class<? extends EndpointCategory> endpointCategory()
- Specified by:
endpointCategoryin classEndpointCategoryCall<AuthenticationApi.VerifyMfaCode>- Returns:
- The endpoint category that created this API call.
-
requestJson
public ApiInvocation<MfaVerificationResponse> requestJson()
Calls the API with theAcceptheader set toapplication/json; charset=utf-8.Verifies a multi-factor authentication (MFA) code. Verifies a multi-factor authentication (MFA) code in conjunction with an MFA token.
Status codes that may be returned by this API call:
- 200 - A successful response that might contain JWTs (access, refresh, id tokens)..
- Returns:
- A completion stage that resolves with the data returned by the API.
-
requestJson_v1_0
public ApiInvocation<MfaVerificationResponse> requestJson_v1_0()
Calls the API with theAcceptheader set toapplication/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8.Verifies a multi-factor authentication (MFA) code. Verifies a multi-factor authentication (MFA) code in conjunction with an MFA token.
Status codes that may be returned by this API call:
- 200 - A successful response that might contain JWTs (access, refresh, id tokens)..
- Returns:
- A completion stage that resolves with the data returned by the API.
-
-