Variable verifySAMLResponse
verifySAMLResponse: (
input: {
relayState: undefined | string;
samlResponse: string;
tenantId: string;
userContext?: Record<string, any>;
},
) => Promise<
| { redirectURI: string; status: "OK" }
| {
status:
| "INVALID_CLIENT_ERROR"
| "SAML_RESPONSE_VERIFICATION_FAILED_ERROR"
| "INVALID_RELAY_STATE_ERROR"
| "IDP_LOGIN_DISALLOWED_ERROR";
},
> = Wrapper.verifySAMLResponse
Type declaration
- (
input: {
relayState: undefined | string;
samlResponse: string;
tenantId: string;
userContext?: Record<string, any>;
},
): Promise<
| { redirectURI: string; status: "OK" }
| {
status:
| "INVALID_CLIENT_ERROR"
| "SAML_RESPONSE_VERIFICATION_FAILED_ERROR"
| "INVALID_RELAY_STATE_ERROR"
| "IDP_LOGIN_DISALLOWED_ERROR";
},
> Parameters
- input: {
relayState: undefined | string;
samlResponse: string;
tenantId: string;
userContext?: Record<string, any>;
}
Returns Promise<
| { redirectURI: string; status: "OK" }
| {
status:
| "INVALID_CLIENT_ERROR"
| "SAML_RESPONSE_VERIFICATION_FAILED_ERROR"
| "INVALID_RELAY_STATE_ERROR"
| "IDP_LOGIN_DISALLOWED_ERROR";
},
>