Skip to content

parseAuthorizationResponse

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts

Read an authorization response off the current URL.

Both carriers are parsed because both are used: the code flow answers in the query string, implicit in the fragment.

Signature

ts
function parseAuthorizationResponse(href: string): AuthorizationResponse

Parameters

NameType
hrefstring

Returns: AuthorizationResponse

Was this page helpful?

Download as PDF