GameServerWeb.Schemas.OAuthSessionData (game_server_web v1.0.943)

Copy Markdown

Describes the payload stored in OAuthSession.data when a session completes or errors.

Typical shapes stored here include authentication tokens and a small user object when authentication succeeds, or a details field with error info when it fails.

Summary

Functions

Callback implementation for OpenApiSpex.Schema.schema/0.

Types

t()

@type t() :: %GameServerWeb.Schemas.OAuthSessionData{
  access_token: term(),
  details: term(),
  display_name: term(),
  expires_in: term(),
  refresh_token: term(),
  user_id: term()
}

Functions

schema()

Callback implementation for OpenApiSpex.Schema.schema/0.