supertokens-node
Preparing search index...
recipe/saml
APIInterface
Type Alias APIInterface
type
APIInterface
=
{
callbackPOST
:
|
undefined
|
(
(
input
:
{
options
:
APIOptions
;
relayState
:
string
|
undefined
;
samlResponse
:
string
;
tenantId
:
string
;
userContext
:
UserContext
;
}
,
)
=>
Promise
<
|
{
redirectURI
:
string
;
status
:
"OK"
}
|
{
status
:
|
"SAML_RESPONSE_VERIFICATION_FAILED_ERROR"
|
"INVALID_RELAY_STATE_ERROR"
|
"INVALID_CLIENT_ERROR"
|
"IDP_LOGIN_DISALLOWED_ERROR"
;
}
|
GeneralErrorResponse
,
>
)
;
loginGET
:
|
undefined
|
(
(
input
:
{
clientId
:
string
;
options
:
APIOptions
;
redirectURI
:
string
;
state
?:
string
;
tenantId
:
string
;
userContext
:
UserContext
;
}
,
)
=>
Promise
<
|
{
redirectURI
:
string
;
state
?:
string
;
status
:
"OK"
}
|
{
status
:
"INVALID_CLIENT_ERROR"
}
|
GeneralErrorResponse
,
>
)
;
}
Index
Properties
callbackPOST
loginGET
Properties
callbackPOST
callbackPOST
:
|
undefined
|
(
(
input
:
{
options
:
APIOptions
;
relayState
:
string
|
undefined
;
samlResponse
:
string
;
tenantId
:
string
;
userContext
:
UserContext
;
}
,
)
=>
Promise
<
|
{
redirectURI
:
string
;
status
:
"OK"
}
|
{
status
:
|
"SAML_RESPONSE_VERIFICATION_FAILED_ERROR"
|
"INVALID_RELAY_STATE_ERROR"
|
"INVALID_CLIENT_ERROR"
|
"IDP_LOGIN_DISALLOWED_ERROR"
;
}
|
GeneralErrorResponse
,
>
)
loginGET
loginGET
:
|
undefined
|
(
(
input
:
{
clientId
:
string
;
options
:
APIOptions
;
redirectURI
:
string
;
state
?:
string
;
tenantId
:
string
;
userContext
:
UserContext
;
}
,
)
=>
Promise
<
|
{
redirectURI
:
string
;
state
?:
string
;
status
:
"OK"
}
|
{
status
:
"INVALID_CLIENT_ERROR"
}
|
GeneralErrorResponse
,
>
)
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
callbackPOST
loginGET
supertokens-node
Loading...