Documentation
¶
Index ¶
- func GenerateAccessJWT(clientId string, userId string, authCode string, grantType string) (*structs.JWTResourceResponse, error)
- func GenerateAuthCode(clientId string, userId string, scope string) (*structs.AuthorizedResponse, error)
- func GenerateClientSecret(appName string) (*structs.RegisteredResponse, error)
- func GenerateWebAuthJWT(clientId string, deviceId string, grantType string) (*structs.JWTWebResponse, error)
- func VerifyAuthCode(clientId string, userId string, authCode string) (bool, error)
- func VerifyAuthJWT(clientId string, deviceId string, authToken string) (bool, error)
- func VerifyClient(clientId string, clientSecret string) (bool, error)
- func VerifyRefreshToken(clientId string, userId string, refToken string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAccessJWT ¶
func GenerateAuthCode ¶
func GenerateClientSecret ¶
func GenerateClientSecret(appName string) (*structs.RegisteredResponse, error)
func GenerateWebAuthJWT ¶
func VerifyAuthCode ¶
func VerifyAuthJWT ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.