ConnectionSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets and manages connection settings for MSAL Auth
public class ConnectionSettings : Microsoft.Agents.Authentication.ConnectionSettingsBase, Microsoft.Agents.Authentication.Msal.Interfaces.IMSALConnectionSettings
type ConnectionSettings = class
inherit ConnectionSettingsBase
interface IMSALConnectionSettings
interface IConnectionSettings
Public Class ConnectionSettings
Inherits ConnectionSettingsBase
Implements IMSALConnectionSettings
- Inheritance
- Implements
Constructors
| ConnectionSettings() | |
| ConnectionSettings(IConfigurationSection) |
Properties
| AssertionRequestOptions | |
| Authority |
Login authority to use for the connection (Inherited from ConnectionSettingsBase) |
| AuthType |
Auth Type to use for the connection |
| CertificateStoreName |
Cert store name to use. |
| CertificateSubjectName |
Subject name to search a cert for. |
| CertificateThumbPrint |
Certificate thumbprint to use for the connection when using a certificate that is resident on the machine |
| ClientId |
Client ID to use for the connection. (Inherited from ConnectionSettingsBase) |
| ClientSecret |
Client Secret to use for the connection when using a client secret |
| FederatedClientId |
ClientId of the ManagedIdentity used with FederatedCredentials |
| FederatedTokenFile |
Token path used for the workload identity, like the MSAL example for AKS, equal to AZURE_FEDERATED_TOKEN_FILE. |
| Scopes |
List of scopes to use for the connection. (Inherited from ConnectionSettingsBase) |
| SendX5C |
Use x5c for certs. Defaults to false. |
| TenantId |
Tenant Id for creating the authentication for the connection (Inherited from ConnectionSettingsBase) |
| ValidCertificateOnly |
Only use valid certs. Defaults to true. |
Methods
| ValidateConfiguration() |
Validates required properties are present in the configuration for the requested authentication type. |