MSOFBAuthenticationOptions Class


Provides options to configure Basic Authentication Middleware.

public class MSOFBAuthenticationOptions : AuthenticationOptions
System.Object → MSOFBAuthenticationOptions


MSOFBAuthenticationOptions() Initializes a new instance of the MSOFBAuthenticationOptions class.


DialogSize Gets or sets the size of the OFBA log-in dialog.
LoginPath Specifies the path to log-in page used by MS-OFBA.
LoginSuccessPath Specifies the path to log-in redirect URL which is used to indicate successful login.
ReturnUrlParameter The parameter name used to pass the return URL.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(Object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.