# parseAuthorizationResponse

**Kind:** Function

**Source:** [`atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts#L449)

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

| Name | Type |
|---|---|
| `href` | `string` |

**Returns:** `AuthorizationResponse`
