saslazure

package module
v0.0.0-...-192a8d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL