Help us shape the future of Go! Take the 2026 Go Developer Survey

app

package
v1.23.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthTokens

type AuthTokens struct {
	// Access Token
	Access *Token `json:"access"`
	// Refresh Token
	Refresh *Token `json:"refresh"`
}

Auth tokens have access and refresh token for user

type AuthenticateResult

type AuthenticateResult struct {
	// User Tokens
	Data *AuthTokens `json:"data"`
}

type Provider

type Provider struct {
	Name string `json:"name"`
}

type ProviderList

type ProviderList struct {
	Data []Provider `json:"data"`
}

type Token

type Token struct {
	// JWT
	Token string `json:"token"`
	// Duration the token will Expire In
	RefreshInterval string `json:"refreshInterval"`
	// Time the token will expires at
	ExpiresAt int64 `json:"expiresAt"`
}

Token includes the JWT, Expire Duration & Time

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL