module Tokeninfo:sig..end
type t = {
|
access_type : |
(* |
The access type granted with this token. It can be offline or online.
| *) |
|
audience : |
(* |
Who is the intended audience for this token. In general the same as issued_to.
| *) |
|
email : |
(* |
The email address of the user. Present only if the email scope is present in the request.
| *) |
|
expires_in : |
(* |
The expiry time of the token, as number of seconds left until expiry.
| *) |
|
issued_to : |
(* |
To whom was the token issued to. In general the same as audience.
| *) |
|
scope : |
(* |
The space separated list of scopes granted to this token.
| *) |
|
token_handle : |
(* |
The token handle associated with this token.
| *) |
|
user_id : |
(* |
The obfuscated user id.
| *) |
|
verified_email : |
(* |
Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request.
| *) |
val access_type : (t, string) GapiLens.t
val audience : (t, string) GapiLens.t
val email : (t, string) GapiLens.t
val expires_in : (t, int) GapiLens.t
val issued_to : (t, string) GapiLens.t
val scope : (t, string) GapiLens.t
val token_handle : (t, string) GapiLens.t
val user_id : (t, string) GapiLens.t
val verified_email : (t, bool) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t ->
GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t