AuthenticationRegistry.Remove method
Removes the authentication scheme for the specified schema and type.
public bool Remove(string schema, string type)
| parameter | description |
|---|---|
| schema | The schema to match for the authentication scheme. |
| type | The HTTP type to match for the authentication scheme. |
Return Value
True if the authentication scheme was removed; otherwise, false.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when either schema or type is null. |
See Also
- class AuthenticationRegistry
- namespace Kestrun.Authentication