Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = {
token_type : token_type;
scope : Scopes.t list;
expires_in : int option;
access_token : string option;
refresh_token : string option;
id_token : string option;
}
A token response
val make :
?token_type:token_type ->
?scope:Scopes.t list ->
?expires_in:int ->
?access_token:string ->
?refresh_token:string ->
?id_token:string ->
unit ->
t
val of_yojson : Yojson.Safe.t -> (t, [> `Msg of string ]) result
val to_yojson : t -> Yojson.Safe.t
val validate :
?clock_tolerance:int ->
?nonce:string ->
jwks:Jose.Jwks.t ->
client:Client.t ->
discovery:Discover.t ->
t ->
(t, [> IDToken.validation_error ]) result