Class AuthenticationApi.VerifyMfaCode

    • Method Detail

      • 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.
      • requestJson

        public ApiInvocation<MfaVerificationResponse> requestJson()
        Calls the API with the Accept header set to application/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 the Accept header set to application/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.