Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SessionManager ¶
Types ¶
type Config ¶
type Config struct { Endpoint string `json:"endpoint"` Admin Credential `json:"admin"` Cli Credential `json:"cli"` }
type Credential ¶
type Credential struct { Realm string `json:"realm"` ClientId string `json:"client_id"` ClientSecret string `json:"client_secret"` Login string `json:"login"` Password string `json:"password"` // contains filtered or unexported fields }
func (*Credential) Token ¶
func (cred *Credential) Token(client *gocloak.GoCloak, ctx context.Context) (*gocloak.JWT, error)
func (*Credential) Validate ¶
func (cred *Credential) Validate() error
Click to show internal directories.
Click to hide internal directories.