FunctionAppAuthSettings

data class FunctionAppAuthSettings(val activeDirectory: FunctionAppAuthSettingsActiveDirectory? = null, val additionalLoginParams: Map<String, String>? = null, val allowedExternalRedirectUrls: List<String>? = null, val defaultProvider: String? = null, val enabled: Boolean, val facebook: FunctionAppAuthSettingsFacebook? = null, val google: FunctionAppAuthSettingsGoogle? = null, val issuer: String? = null, val microsoft: FunctionAppAuthSettingsMicrosoft? = null, val runtimeVersion: String? = null, val tokenRefreshExtensionHours: Double? = null, val tokenStoreEnabled: Boolean? = null, val twitter: FunctionAppAuthSettingsTwitter? = null, val unauthenticatedClientAction: String? = null)

Constructors

Link copied to clipboard
constructor(activeDirectory: FunctionAppAuthSettingsActiveDirectory? = null, additionalLoginParams: Map<String, String>? = null, allowedExternalRedirectUrls: List<String>? = null, defaultProvider: String? = null, enabled: Boolean, facebook: FunctionAppAuthSettingsFacebook? = null, google: FunctionAppAuthSettingsGoogle? = null, issuer: String? = null, microsoft: FunctionAppAuthSettingsMicrosoft? = null, runtimeVersion: String? = null, tokenRefreshExtensionHours: Double? = null, tokenStoreEnabled: Boolean? = null, twitter: FunctionAppAuthSettingsTwitter? = null, unauthenticatedClientAction: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A active_directory block as defined below.

Link copied to clipboard

Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".

Link copied to clipboard

External URLs that can be redirected to as part of logging in or logging out of the app.

Link copied to clipboard
val defaultProvider: String? = null

The default provider to use when multiple providers have been set up. Possible values are AzureActiveDirectory, Facebook, Google, MicrosoftAccount and Twitter.

Link copied to clipboard

Is Authentication enabled?

Link copied to clipboard

A facebook block as defined below.

Link copied to clipboard

A google block as defined below.

Link copied to clipboard
val issuer: String? = null

Issuer URI. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.

Link copied to clipboard

A microsoft block as defined below.

Link copied to clipboard
val runtimeVersion: String? = null

The runtime version of the Authentication/Authorization module.

Link copied to clipboard

The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to 72.

Link copied to clipboard

If enabled the module will durably store platform-specific security tokens that are obtained during login flows. Defaults to false.

Link copied to clipboard

A twitter block as defined below.

Link copied to clipboard

The action to take when an unauthenticated client attempts to access the app. Possible values are AllowAnonymous and RedirectToLoginPage.