Kind: Function
Source: atloria-monorepo/packages/ui-core/src/components/api-explorer/oauth2.ts
An https URL, or http on a loopback host.
The loopback exception is what makes a customer's own dev authorization server usable from a local docs preview; every other http endpoint would put an authorization code — and then a token — on the wire in clear text, so it is refused rather than downgraded silently.
Signature
tsfunction isSafeEndpointUrl(url: string | undefined): boolean
Parameters
| Name | Type |
|---|---|
url | `string |
Returns: boolean
Was this page helpful?