AuthenticationConfiguration interface
Warning
This API is now deprecated.
Please use TeamsUserCredentialAuthConfig or OnBehalfOfCredentialAuthConfig or AppCredentialAuthConfig instead.
Authentication related configuration.
Properties
application |
Application ID URI. Default value comes from M365_APPLICATION_ID_URI environment variable. |
authority |
Hostname of AAD authority. Default value comes from M365_AUTHORITY_HOST environment variable. |
certificate |
The content of a PEM-encoded public/private key certificate. |
client |
The client (application) ID of an App Registration in the tenant, default value comes from M365_CLIENT_ID environment variable |
client |
Secret string that the application uses when requesting a token. Only used in confidential client applications. Can be created in the Azure app registration portal. Default value comes from M365_CLIENT_SECRET environment variable |
initiate |
Login page for Teams to redirect to. Default value comes from INITIATE_LOGIN_ENDPOINT environment variable. |
tenant |
AAD tenant id, default value comes from M365_TENANT_ID environment variable. |
Property Details
applicationIdUri
Application ID URI. Default value comes from M365_APPLICATION_ID_URI environment variable.
applicationIdUri?: string
Property Value
string
authorityHost
Hostname of AAD authority. Default value comes from M365_AUTHORITY_HOST environment variable.
authorityHost?: string
Property Value
string
certificateContent
The content of a PEM-encoded public/private key certificate.
certificateContent?: string
Property Value
string
clientId
The client (application) ID of an App Registration in the tenant, default value comes from M365_CLIENT_ID environment variable
clientId?: string
Property Value
string
clientSecret
Secret string that the application uses when requesting a token. Only used in confidential client applications. Can be created in the Azure app registration portal. Default value comes from M365_CLIENT_SECRET environment variable
clientSecret?: string
Property Value
string
initiateLoginEndpoint
Login page for Teams to redirect to. Default value comes from INITIATE_LOGIN_ENDPOINT environment variable.
initiateLoginEndpoint?: string
Property Value
string
tenantId
AAD tenant id, default value comes from M365_TENANT_ID environment variable.
tenantId?: string
Property Value
string