// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Authentication { /// /// Contains the options used by the . /// public class AuthenticationSchemeOptions { /// /// Check that the options are valid. Should throw an exception if things are not ok. /// public virtual void Validate() { } /// /// Checks that the options are valid for a specific scheme /// /// The scheme being validated. public virtual void Validate(string scheme) => Validate(); /// /// Gets or sets the issuer that should be used for any claims that are created /// public string ClaimsIssuer { get; set; } /// /// Instance used for events /// public object Events { get; set; } /// /// If set, will be used as the service type to get the Events instance instead of the property. /// public Type EventsType { get; set; } } }