com.atproto.session Lexicon#

Definitions related to session-management in ATP.


com.atproto.session.create#

RPC procedure Create an authentication session.

Parameters:

  • Encoding: application/json
  • Schema:
export interface Parameters {
  handle: string;
  password: string;
}

Response:

  • Encoding: application/json
  • Schema:
export interface Response {
  accessJwt: string;
  refreshJwt: string;
  handle: string;
  did: string;
}

com.atproto.session.delete#

RPC procedure Delete the current session.

Response:

  • Encoding: application/json
  • Schema:
export interface Response {
  [k: string]: unknown;
}

com.atproto.session.get#

RPC query Get information about the current session.

Response:

  • Encoding: application/json
  • Schema:
export interface Response {
  handle: string;
  did: string;
}

com.atproto.session.refresh#

RPC procedure Refresh an authentication session.

Response:

  • Encoding: application/json
  • Schema:
export interface Response {
  accessJwt: string;
  refreshJwt: string;
  handle: string;
  did: string;
}

See what's next.Join the private beta.

The AT Protocol will launch soon.
Join the waitlist to try the beta before it's publicly available.

Join the waitlist