Module Cephalopod_models.Com_Atproto_Server_GetSession

lexicon "com.atproto.server.getSession"

def main

type main_output = {
  1. handle : string;
    (*

    format: "Handle"

    *)
  2. did : string;
    (*

    format: "Did"

    *)
  3. email : string option;
  4. emailConfirmed : bool option;
  5. emailAuthFactor : bool option;
  6. didDoc : Cephalopod_dasl.Value.t option;
  7. active : bool option;
  8. status : string option;
    (*

    If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. known values: "takendown"; "suspended"; "deactivated"

    *)
}
val show_main_output : main_output -> Ppx_deriving_runtime.string
val main_output_of_value : main_output Cephalopod_dasl.Value.Util.conv
val main_output_to_value : main_output -> Cephalopod_dasl.Value.t
val main : (unit, main_output, unit) Base.query

Get information about the current auth session. Requires auth.