Class OktaClientConfigurationValidator
Helper validator class for OktaClient settings
Inheritance
System.Object
OktaClientConfigurationValidator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk.Internal
Assembly: Okta.Sdk.dll
Syntax
public class OktaClientConfigurationValidator
Methods
EnsureTrailingSlash(String)
Ensures that this URI ends with a trailing slash /
Declaration
public static string EnsureTrailingSlash(string oktaDomain)
Parameters
Type | Name | Description |
---|---|---|
System.String | oktaDomain | The okta domain URI string |
Returns
Type | Description |
---|---|
System.String | The URI string, appended with |
Validate(OktaClientConfiguration)
Validates the OktaClient configuration
Declaration
public static void Validate(OktaClientConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
OktaClientConfiguration | configuration | The configuration to be validated |