Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthRefresh = "RefreshToken" AuthHeaderkey = "authorization" AuthTypeBearer = "bearer" AuthPayload = "authorization_payload" )
Variables ¶
This section is empty.
Functions ¶
func ValidateFileType ¶
Types ¶
type CreateQueue ¶
type UserInfo ¶
type UserInfo struct { ID string `json:"id,omitempty"` Email string `json:"email,omitempty"` VerifiedEmail bool `json:"verified_email,omitempty"` Name string `json:"name,omitempty"` GivenName string `json:"given_name,omitempty"` FamilyName string `json:"family_name,omitempty"` Picture string `json:"picture,omitempty"` Locale string `json:"locale,omitempty"` }
type UtilTools ¶
type UtilTools interface { GetRedisPayload(ctx context.Context, uid string, payload interface{}) error TokenHelper(ctx context.Context, token oauth2.TokenSource) (*oauth2.Token, error) AuthPayload(c echo.Context) (*token.Payload, error) // contains filtered or unexported methods }
func NewApiUtil ¶
Click to show internal directories.
Click to hide internal directories.