Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Certificate []byte PrivateKey []byte Password string Scope string Type string URL string Key string Client string }
Config holds the configuration for jwt
type Errors ¶
type Errors struct { Detail []struct { Loc []string `json:"loc"` Msg string `json:"msg"` Type string `json:"type"` } `json:"detail"` }
Errors is a general error reply
type GetJWTRequest ¶
type GetJWTRequest struct {
Data JWTRequest `json:"data"`
}
GetJWTRequest holds the request
type JWTAccessToken ¶
JWTAccessToken type
type JWTReply ¶
type JWTReply struct { AccessToken struct { Value string `json:"value"` Access []struct { Type string `json:"type"` Scope string `json:"scope"` } `json:"access"` Flags []string `json:"flags"` } `json:"access_token"` }
JWTReply reply from jwt retrival endpoint
type JWTRequest ¶
type JWTRequest struct { AccessToken []JWTAccessToken `json:"access_token"` Client JWTClient `json:"client"` }
JWTRequest request type for ensureJWT
Click to show internal directories.
Click to hide internal directories.