Documentation ¶
Overview ¶
Package saslazure wraps the creation of a OAUTH sasl.Mechanism
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromCredential ¶
func NewFromCredential(cred azcore.TokenCredential, ns string) sasl.Mechanism
NewFromCredential creates a new OAUTH sasl.Mechanism from an azidentity. AzureCredential.
cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { // Handle error } saslazure.NewFromCredential(cred)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.