results

package
v0.0.0-...-412dc8c Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJWTGenerateResult

func NewJWTGenerateResult(signedToken *string, token *jwt.Token, claims *auth.JWTClaims) interfaces.JWTGenerateResult

func NewJWTValidateResult

func NewJWTValidateResult(token jwt.Token, claims auth.JWTClaims) interfaces.JWTValidateResult

func NewLoginResult

func NewLoginResult(user models.User, signedToken string, token jwt.Token, claims auth.JWTClaims) interfaces.LoginResult

Types

type JWTGenerateResultImpl

type JWTGenerateResultImpl struct {
	// contains filtered or unexported fields
}

func (JWTGenerateResultImpl) Claims

func (JWTGenerateResultImpl) SignedToken

func (j JWTGenerateResultImpl) SignedToken() string

func (JWTGenerateResultImpl) Token

func (j JWTGenerateResultImpl) Token() jwt.Token

type JWTValidateResultImpl

type JWTValidateResultImpl struct {
	// contains filtered or unexported fields
}

func (JWTValidateResultImpl) Claims

func (JWTValidateResultImpl) Token

func (j JWTValidateResultImpl) Token() jwt.Token

type LoginResultImpl

type LoginResultImpl struct {
	// contains filtered or unexported fields
}

func (LoginResultImpl) Claims

func (l LoginResultImpl) Claims() auth.JWTClaims

func (LoginResultImpl) SignedToken

func (l LoginResultImpl) SignedToken() string

func (LoginResultImpl) Token

func (l LoginResultImpl) Token() jwt.Token

func (LoginResultImpl) User

func (l LoginResultImpl) User() models.User

Jump to

Keyboard shortcuts

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