Documentation ¶
Index ¶
- func AccessTokenContext(ctx context.Context, accessToken string) context.Context
- func AuthContext(ctx context.Context, providerConfig internaltypes.ProviderConfiguration) context.Context
- func BasicAuthContext(ctx context.Context, username, password string) context.Context
- func OAuthContext(ctx context.Context, transport *http.Transport, tokenUrl string, ...) context.Context
- func ProviderAccessTokenContext(ctx context.Context, providerConfig internaltypes.ProviderConfiguration) context.Context
- func ProviderBasicAuthContext(ctx context.Context, providerConfig internaltypes.ProviderConfiguration) context.Context
- func ProviderOAuthContext(ctx context.Context, providerConfig internaltypes.ProviderConfiguration) context.Context
- func ReportHttpError(ctx context.Context, diagnostics *diag.Diagnostics, errorSummary string, ...)
- func ReportHttpErrorAsWarning(ctx context.Context, diagnostics *diag.Diagnostics, errorSummary string, ...)
- func SetAllAttributesToOptionalAndComputed(s *schema.Schema, exemptAttributes []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessTokenContext ¶ added in v0.6.0
Get an AccessToken context with an accessToken
func AuthContext ¶ added in v0.6.0
func AuthContext(ctx context.Context, providerConfig internaltypes.ProviderConfiguration) context.Context
func BasicAuthContext ¶
Get BasicAuth context with a username and password
func OAuthContext ¶ added in v0.6.0
func OAuthContext(ctx context.Context, transport *http.Transport, tokenUrl string, clientId string, clientSecret string, scopes []string) context.Context
Get an OAuth context with a tokenUrl, clientId, clientSecret, and scopes
func ProviderAccessTokenContext ¶ added in v0.6.0
func ProviderAccessTokenContext(ctx context.Context, providerConfig internaltypes.ProviderConfiguration) context.Context
Get an AccessToken context from a ProviderConfiguration
func ProviderBasicAuthContext ¶
func ProviderBasicAuthContext(ctx context.Context, providerConfig internaltypes.ProviderConfiguration) context.Context
Get a BasicAuth context from a ProviderConfiguration
func ProviderOAuthContext ¶ added in v0.6.0
func ProviderOAuthContext(ctx context.Context, providerConfig internaltypes.ProviderConfiguration) context.Context
Get an OAuth context from a ProviderConfiguration
func ReportHttpError ¶
func ReportHttpError(ctx context.Context, diagnostics *diag.Diagnostics, errorSummary string, err error, httpResp *http.Response)
Report an HTTP error
func ReportHttpErrorAsWarning ¶
func ReportHttpErrorAsWarning(ctx context.Context, diagnostics *diag.Diagnostics, errorSummary string, err error, httpResp *http.Response)
Report an HTTP error as a warning
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
authenticationapi
|
|
authenticationpolicies
|
|
certificate
|
|
idp
|
|
kerberos
|
|
keypair
|
|
localidentity
|
|
notificationpublishers
|
|
oauth
|
|
protocolmetadata
|
|
session
|
|
sp
|
|
Click to show internal directories.
Click to hide internal directories.