Kanda Foundation 0.2.0
Loading...
Searching...
No Matches
CloudSettings Class Reference

More...

+ Inheritance diagram for CloudSettings:

Static Public Attributes

const string AssetPath
 The standard path where this asset should be stored.
 

Properties

DeploymentEnvVar< string > EnvironmentName [get, set]
 The name of each deployment environment in Kanda Cloud. This is prepended to ApiHostname for non-production environments.
 
string CustomerIdentifier = "app" [get, set]
 The primary identifier for the API. Use "app" for public cloud, or a customer identifier for private clouds. This is prepended to ApiHostname.
 
string ApiHostname = "api.kanda.dk" [get, set]
 The hostname for the API.
 
string ApiVersion = "v2" [get, set]
 The version of the API to target. This is appended to ApiHostname.
 
string AppIdentifier = "main" [get, set]
 A secondary identifier for the app itself. This can be used when multiple apps target the same API and tenant but wish to filter data based on the application.
 
string LoginHostname = "login.kanda.dk" [get, set]
 The hostname for the login page for use in device code auth flows.
 
DeploymentEnvVar< string > OidcClientId [get, set]
 The OpenID Connect scopes to request when logging in.
 
string OidcScopes = "openid profile email offline_access" [get, set]
 The OpenID Connect client ID specifies which OAuth client to use at login.
 
string OidcDeviceCodeGrantType [get, set]
 The OpenID Connect grant type to use for Device Code login flows.
 
string OidcRefreshTokenGrantType = "refresh_token" [get, set]
 The OpenID Connect grant type to use for refresh tokens.
 
string OidcDeviceCodeRoute = "oauth/device/code" [get, set]
 The route to use for initiating Device Code login flows. This is appended to LoginHostname.
 
string OidcCodeActivationRoute = "activate" [get, set]
 The route to use for Device Code activation. This is appended to LoginHostname.
 
string OidcTokenRoute = "oauth/token" [get, set]
 The route to use for obtaining OpenID Connect tokens. This is appended to LoginHostname.
 
- Properties inherited from ICloudSettings

Detailed Description

Member Data Documentation

◆ AssetPath

const string AssetPath
static
Initial value:
=
SettingsStandardPaths.AssetAppSettings + "/CloudSettings"

The standard path where this asset should be stored.

Property Documentation

◆ ApiHostname

string ApiHostname = "api.kanda.dk"
getset

The hostname for the API.

Implements ICloudSettings.

◆ ApiVersion

string ApiVersion = "v2"
getset

The version of the API to target. This is appended to ApiHostname.

Implements ICloudSettings.

◆ AppIdentifier

string AppIdentifier = "main"
getset

A secondary identifier for the app itself. This can be used when multiple apps target the same API and tenant but wish to filter data based on the application.

Implements ICloudSettings.

◆ CustomerIdentifier

string CustomerIdentifier = "app"
getset

The primary identifier for the API. Use "app" for public cloud, or a customer identifier for private clouds. This is prepended to ApiHostname.

Implements ICloudSettings.

◆ EnvironmentName

DeploymentEnvVar<string> EnvironmentName
getset
Initial value:
=
new("dev", "stage", "prod")

The name of each deployment environment in Kanda Cloud. This is prepended to ApiHostname for non-production environments.

Implements ICloudSettings.

◆ LoginHostname

string LoginHostname = "login.kanda.dk"
getset

The hostname for the login page for use in device code auth flows.

Implements ICloudSettings.

◆ OidcClientId

DeploymentEnvVar<string> OidcClientId
getset
Initial value:
= new(
"66hsaBvuhRMP3Whp34lJWAuohomiGfFt",
"qXBvTxEu4wHBAYUxS1GoKiGDhCPtrk9y",
"hfuiLx3UJ3ZGSQgQsRgAysnBmcng3Mb1")

The OpenID Connect scopes to request when logging in.

Implements ICloudSettings.

◆ OidcCodeActivationRoute

string OidcCodeActivationRoute = "activate"
getset

The route to use for Device Code activation. This is appended to LoginHostname.

Implements ICloudSettings.

◆ OidcDeviceCodeGrantType

string OidcDeviceCodeGrantType
getset
Initial value:
=
"urn:ietf:params:oauth:grant-type:device_code"

The OpenID Connect grant type to use for Device Code login flows.

Implements ICloudSettings.

◆ OidcDeviceCodeRoute

string OidcDeviceCodeRoute = "oauth/device/code"
getset

The route to use for initiating Device Code login flows. This is appended to LoginHostname.

Implements ICloudSettings.

◆ OidcRefreshTokenGrantType

string OidcRefreshTokenGrantType = "refresh_token"
getset

The OpenID Connect grant type to use for refresh tokens.

Implements ICloudSettings.

◆ OidcScopes

string OidcScopes = "openid profile email offline_access"
getset

The OpenID Connect client ID specifies which OAuth client to use at login.

Implements ICloudSettings.

◆ OidcTokenRoute

string OidcTokenRoute = "oauth/token"
getset

The route to use for obtaining OpenID Connect tokens. This is appended to LoginHostname.

Implements ICloudSettings.


The documentation for this class was generated from the following file: