Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnonymousCredential ¶
type AnonymousCredential struct { }
func (*AnonymousCredential) GetToken ¶
func (a *AnonymousCredential) GetToken(ctx context.Context, options policy.TokenRequestOptions) (azcore.AccessToken, error)
GetToken returns an AccessToken and an error if the request fails.
func (*AnonymousCredential) NewAuthenticationPolicy ¶
func (*AnonymousCredential) NewAuthenticationPolicy(options policy.BearerTokenOptions) policy.Policy
NewAuthenticationPolicy creates a new authentication policy based on the given options.
type PolicyFunc ¶
PolicyFunc is a type that implements the Policy interface. Use this type when implementing a stateless policy as a first-class function.
Click to show internal directories.
Click to hide internal directories.