Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAuthzApiClient ¶
func CreateAuthzApiClient(authzApiUrl, clientID, clientSecret, issuerURL string) *authzapiv1.APIClient
Create a new instance of authzapiv1.APIClient which uses OAuth2 client credentials for authentication
func CreateAuthzApiClientFromEnv ¶
func CreateAuthzApiClientFromEnv() (*authzapiv1.APIClient, error)
CreateAuthzApiClientFromEnv is a convience wrapper around CreateAuthzApiClient which loads the necessary config parameters from the following environment variables: - AUTHZAPI_URL - KC_ISSUER_URL - KC_CLIENT_ID - KC_CLIENT_SECRET
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.