Click or drag to resize

AzureADSettings Class

Represents settings needed for Azure Active Directory (AD) authentication.
Inheritance Hierarchy
SystemObject
  GSF.SecurityAzureADSettings

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.181-beta
Syntax
public class AzureADSettings
View Source

The AzureADSettings type exposes the following members.

Constructors
 NameDescription
Public methodAzureADSettingsInitializes a new instance of the AzureADSettings class
Top
Properties
 NameDescription
Public propertyAuthority Gets the Azure AD authority (Instance + TenantID).
Public propertyCallbackPath Gets or sets the Azure AD call-back path.
Public propertyClientID Gets or sets the Azure AD client ID.
Public propertyEnabled Gets the flag that determines if Azure AD is enabled.
Public propertyInstance Gets or sets the Azure AD instance URL.
Public propertyLastException Gets the last exception, if any, encountered after getting a new Graph service client.
Public propertyRedirectURI Gets or sets the redirect URI where authentication responses can be received by the application.
Public propertySignedOutCallbackPath Gets or sets the Azure AD signed out call-back path.
Public propertyTenantID Gets or sets the Azure AD tenant ID.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetGraphClient Gets a new Graph service client.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberLoad Loads Azure AD settings. Source based on target configuration.
Public methodStatic memberLoadFromAppSettings Loads Azure AD settings from the specified JSON application settings file.
Public methodStatic memberLoadFromConfig Loads Azure AD settings from categorized settings.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberDefaultCallbackPath Default value for CallbackPath property.
Public fieldStatic memberDefaultClientID Default value for ClientID property.
Public fieldStatic memberDefaultEnabled Default value for Enabled property.
Public fieldStatic memberDefaultInstance Default value for Instance property.
Public fieldStatic memberDefaultRedirectURI Default value for RedirectURI property.
Public fieldStatic memberDefaultSettingsCategory Default category for Azure AD settings.
Public fieldStatic memberDefaultSignedOutCallbackPath Default value for SignedOutCallbackPath property.
Public fieldStatic memberDefaultTenantID Default value for TenantID property.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also