gooauthrest

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: GPL-3.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 JWT

type JWT struct {
	AccessToken  string `json:"access_token"`
	RefreshToken string `json:"refresh_token"`
	ExpiredIn    int    `json:"expired_in"`
	Role         string `json:"role"`
}

type User

type User struct {
	Email      string               `json:"email"`
	Name       string               `json:"name"`
	SubName    string               `json:"sub_name"`
	Enabled    bool                 `json:"enabled"`
	Password   string               `json:"password"`
	Role       string               `json:"role"`
	Attributes *map[string][]string `json:"attributtes"`
}

Jump to

Keyboard shortcuts

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