Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { models.Base AppID uuid.UUID OwnerID uuid.UUID EncryptedAccessToken string // Sec: Encrypted with AUTH_SECRET_KEY }
AccessToken represents the user's access token gotten from OAuth flow.
type AppCredentials ¶
AppCredentials represents information an application needs for administrative authentication.
type ClientAccount ¶
type ClientAccount struct { models.Base ClientID uuid.UUID // Public-facing ID // SecureRandom.hex(32) EncryptedClientSecret string // For verifying client // UUID Kind string // Confidential or Public RedirectURI string IsFirstParty bool }
ClientAccount stores information for authenticating a client.
type SocialLogin ¶
SocialLogin for social login information.
Click to show internal directories.
Click to hide internal directories.