HttpFs.Auth0


Authentication

Namespace: HttpFs.Auth0

Interactions with the Auth0 Authentication API.

Nested types and modules

TypeDescription
AuthenticationResult

Represents the result of attempting to authenticate with the API.

ModuleDescription
AuthenticationResult

Operations for interacting with AuthenticationResult.

Functions and values

Function or valueDescription
createRequest cp ac
Signature: cp:ClientParams -> ac:Auth0Credentials -> Request

Constructs an authentication request against the authentication host's active authentication endpoint using the specified credentials.

tryAuthenticate req
Signature: req:Request -> Alt<AuthenticationResult>

Asynchronously processes an authentication request and attempts to interpret the response as an AuthenticationResult.

tryAuthenticateFromSource ats uri cp
Signature: ats:(Uri -> ClientParams -> '?7634) -> uri:Uri -> cp:ClientParams -> Alt<AuthenticationResult>
Type parameters: '?7634

Asynchronously constructs and processes an authentication response, attempting to obtain authentication credentials from an asynchronous source which can be used to ensure the requested URI and client parameters match a predetermined whitelist.

Fork me on GitHub