This API used for multifactor authentication functionality belong to gov-multi-auth service. This controller allow you to verify authentication by specified method
Client Error - Returned if the request body is invalid.
ErrorResponseDto
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
$SendTokenRequest=@"{
"userAlias" : "will.albin",
"deliveryType" : "EMAIL_WORK"
}"@# Create and send user tokentry{$Result=ConvertFrom-JsonToSendTokenRequest-Json$SendTokenRequestNew-BetaSendToken-BetaSendTokenRequest$Result# Below is a request that includes all optional parameters# New-BetaSendToken -BetaSendTokenRequest $SendTokenRequest }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling New-BetaSendToken"Write-Host$_.ErrorDetails}
Client Error - Returned if the request body is invalid.
ErrorResponseDto
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
$Method="okta-verify"# String | The name of the MFA method. The currently supported method names are 'okta-verify', 'duo-web', 'kba','token', 'rsa'$VerificationPollRequest=@"{
"requestId" : "089899f13a8f4da7824996191587bab9"
}"@# Polling MFA method by VerificationPollRequesttry{$Result=ConvertFrom-JsonToVerificationPollRequest-Json$VerificationPollRequestPing-BetaVerificationStatus-BetaMethod$Method-BetaVerificationPollRequest$Result# Below is a request that includes all optional parameters# Ping-BetaVerificationStatus -BetaMethod $Method -BetaVerificationPollRequest $VerificationPollRequest }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Ping-BetaVerificationStatus"Write-Host$_.ErrorDetails}
Client Error - Returned if the request body is invalid.
ErrorResponseDto
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
$DuoVerificationRequest=@"{
"signedResponse" : "AUTH|d2lsbC5hbGJpbnxESTZNMFpHSThKQVRWTVpZN0M5VXwxNzAxMjUzMDg5|f1f5f8ced5b340f3d303b05d0efa0e43b6a8f970:APP|d2lsbC5hbGJpbnxESTZNMFpHSThKQVRWTVpZN0M5VXwxNzAxMjU2NjE5|cb44cf44353f5127edcae31b1da0355f87357db2",
"userId" : "2c9180947f0ef465017f215cbcfd004b"
}"@# Verifying authentication via Duo methodtry{$Result=ConvertFrom-JsonToDuoVerificationRequest-Json$DuoVerificationRequestSend-BetaDuoVerifyRequest-BetaDuoVerificationRequest$Result# Below is a request that includes all optional parameters# Send-BetaDuoVerifyRequest -BetaDuoVerificationRequest $DuoVerificationRequest }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Send-BetaDuoVerifyRequest"Write-Host$_.ErrorDetails}
Client Error - Returned if the request body is invalid.
ErrorResponseDto
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
$KbaAnswerRequestItem=@"{
"answer" : "Youranswer",
"id" : "c54fee53-2d63-4fc5-9259-3e93b9994135"
}"@# KbaAnswerRequestItem[] | # Authenticate KBA provided MFA methodtry{$Result=ConvertFrom-JsonToKbaAnswerRequestItem-Json$KbaAnswerRequestItemSend-BetaKbaAnswers-BetaKbaAnswerRequestItem$Result# Below is a request that includes all optional parameters# Send-BetaKbaAnswers -BetaKbaAnswerRequestItem $KbaAnswerRequestItem }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Send-BetaKbaAnswers"Write-Host$_.ErrorDetails}
This API Authenticates the user via Okta-Verify MFA method. Request requires a header called 'slpt-forwarding', and it must contain a remote IP Address of caller.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
$OktaVerificationRequest=@"{
"userId" : "example@mail.com"
}"@# Verifying authentication via Okta methodtry{$Result=ConvertFrom-JsonToOktaVerificationRequest-Json$OktaVerificationRequestSend-BetaOktaVerifyRequest-BetaOktaVerificationRequest$Result# Below is a request that includes all optional parameters# Send-BetaOktaVerifyRequest -BetaOktaVerificationRequest $OktaVerificationRequest }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Send-BetaOktaVerifyRequest"Write-Host$_.ErrorDetails}
Client Error - Returned if the request body is invalid.
ErrorResponseDto
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
$TokenAuthRequest=@"{
"userAlias" : "will.albin",
"deliveryType" : "EMAIL_WORK",
"token" : "12345"
}"@# Authenticate Token provided MFA methodtry{$Result=ConvertFrom-JsonToTokenAuthRequest-Json$TokenAuthRequestSend-BetaTokenAuthRequest-BetaTokenAuthRequest$Result# Below is a request that includes all optional parameters# Send-BetaTokenAuthRequest -BetaTokenAuthRequest $TokenAuthRequest }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Send-BetaTokenAuthRequest"Write-Host$_.ErrorDetails}