package azuread
import "github.com/denisenkom/go-mssqldb/azuread"
Index ¶
Constants ¶
const ( ActiveDirectoryDefault = "ActiveDirectoryDefault" ActiveDirectoryIntegrated = "ActiveDirectoryIntegrated" ActiveDirectoryPassword = "ActiveDirectoryPassword" ActiveDirectoryInteractive = "ActiveDirectoryInteractive" // ActiveDirectoryMSI is a synonym for ActiveDirectoryManagedIdentity ActiveDirectoryMSI = "ActiveDirectoryMSI" ActiveDirectoryManagedIdentity = "ActiveDirectoryManagedIdentity" // ActiveDirectoryApplication is a synonym for ActiveDirectoryServicePrincipal ActiveDirectoryApplication = "ActiveDirectoryApplication" ActiveDirectoryServicePrincipal = "ActiveDirectoryServicePrincipal" ActiveDirectoryServicePrincipalAccessToken = "ActiveDirectoryServicePrincipalAccessToken" )
const DriverName = "azuresql"
DriverName is the name used to register the driver
Functions ¶
func NewConnector ¶
NewConnector creates a new connector from a DSN. The returned connector may be used with sql.OpenDB.
Types ¶
type Driver ¶
type Driver struct { }
Driver wraps the underlying MSSQL driver, but configures the Azure AD token provider
func (*Driver) Open ¶
Open returns a new connection to the database.
Source Files ¶
- Version
- v0.12.3 (latest)
- Published
- Oct 11, 2022
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 1 week ago –
Tools for package owners.