Documentation ¶
Index ¶
- func GenerateJWT(expires time.Time, account datatypes.Account, scope []string, ...) (string, error)
- func GetBearerTokenFromHeader(h *http.Header) (string, error)
- func GetClientIDFromHeader(h *http.Header) (string, error)
- func GetClientSecretFromHeader(h *http.Header) (string, error)
- func NewAccessToken(account datatypes.Account, expires time.Time, scope []string) (datatypes.Token, error)
- func NewRefreshToken(account datatypes.Account, expires time.Time, scope []string) (datatypes.Token, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJWT ¶
func NewAccessToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.