AuthenticationSchemeOptions.Validate Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validate() |
Check that the options are valid. Should throw an exception if things are not ok. |
Validate(String) |
Checks that the options are valid for a specific scheme |
Check that the options are valid. Should throw an exception if things are not ok.
public:
virtual void Validate();
C#
public virtual void Validate ();
abstract member Validate : unit -> unit
override this.Validate : unit -> unit
Public Overridable Sub Validate ()
Applies to
ASP.NET Core 9.0 och andra versioner
Produkt | Versioner |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Checks that the options are valid for a specific scheme
public:
virtual void Validate(System::String ^ scheme);
C#
public virtual void Validate (string scheme);
abstract member Validate : string -> unit
override this.Validate : string -> unit
Public Overridable Sub Validate (scheme As String)
Parameters
- scheme
- String
The scheme being validated.
Applies to
ASP.NET Core 9.0 och andra versioner
Produkt | Versioner |
---|---|
ASP.NET Core | 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |