HttpFs.Auth0


JwtToken

Namespace: HttpFs.Auth0
Parent Module: Types

Operations for interacting with JwtToken.

Functions and values

Function or valueDescription
create str
Signature: str:string -> JwtToken
toHttpAuthorizationHeaderString tt jwt
Signature: tt:TokenType -> jwt:JwtToken -> string

Builds the string required for an HTTP Authorization header value.

toString jwt
Signature: jwt:JwtToken -> string
tryDecodePayload jwt
Signature: jwt:JwtToken -> Choice<JwtTokenPayload,string>

Attempts to decode the payload of the JSON Web Token. This may fail if the token is malformed or a JWE token. No validation is done on the payload's validity, and the signature of a JWS token is not checked.

Fork me on GitHub