Module Cephalopod_models.Com_Atproto_Server_RefreshSession

lexicon "com.atproto.server.refreshSession"

def main

type main_output = {
  1. accessJwt : string;
  2. refreshJwt : string;
  3. handle : string;
    (*

    format: "Handle"

    *)
  4. did : string;
    (*

    format: "Did"

    *)
  5. didDoc : Cephalopod_dasl.Value.t option;
  6. active : bool option;
  7. status : string option;
    (*

    Hosting status of the account. If not specified, then assume 'active'. 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
type main_error = [
  1. | `AccountTakedown
]
val show_main_error : main_error -> Ppx_deriving_runtime.string
val main : (unit, unit, main_output, main_error) Base.procedure

Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').