Documentation
¶
Index ¶
- Variables
- func GeneratePAAToken(ctx context.Context, username string, server string) (string, error)
- func GenerateUserToken(ctx context.Context, userName string) (string, error)
- func UserInfo(ctx context.Context, token string) (jwt.Claims, error)
- func VerifyPAAToken(ctx context.Context, tokenString string) (bool, error)
- func VerifyServerFunc(ctx context.Context, host string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SigningKey []byte EncryptionKey []byte UserSigningKey []byte UserEncryptionKey []byte OIDCProvider *oidc.Provider Oauth2Config oauth2.Config )
View Source
var ExpiryTime time.Duration = 5
View Source
var VerifyClientIP bool = true
Functions ¶
func GeneratePAAToken ¶
func GenerateUserToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.