Microsoft.AspNetCore.Authentication
60 wrapped types. Load them with using { "Microsoft.AspNetCore.Authentication" }. Click a class to open it.
AccessDeniedContext class · extends HandleRequestContext<RemoteAuthenticationOptions>
Microsoft.AspNetCore.Authentication.AccessDeniedContext · assembly Microsoft.AspNetCore.Authentication
Constructors
new AccessDeniedContext(HttpContext context, AuthenticationScheme scheme, RemoteAuthenticationOptions options) |
Ring: new AccessDeniedContext(args) uses one constructor; the others are chosen by the parameter names: new AccessDeniedContext().@New([ :param = value ]) or dnNew("AccessDeniedContext",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AccessDeniedPath | PathString | read, write | o.AccessDeniedPath o.AccessDeniedPath = v |
Properties | AuthenticationProperties | read, write | o.Properties o.Properties = v |
ReturnUrl | string | read, write | o.ReturnUrl o.ReturnUrl = v |
ReturnUrlParameter | string | read, write | o.ReturnUrlParameter o.ReturnUrlParameter = v |
Result | HandleRequestResult | read | o.getResult() |
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | RemoteAuthenticationOptions | read | o.getOptions() |
HttpContext | HttpContext | read | o.getHttpContext() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HandleResponse | callMethod("HandleResponse",[]) | void HandleResponse() |
SkipHandler | callMethod("SkipHandler",[]) | void SkipHandler() |
Members of the base class are inherited.
AuthenticateResult class
Microsoft.AspNetCore.Authentication.AuthenticateResult · assembly Microsoft.AspNetCore.Authentication.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Succeeded | bool | read | o.Succeeded |
Ticket | AuthenticationTicket | read | o.Ticket |
Principal | ClaimsPrincipal | read | o.Principal |
Properties | AuthenticationProperties | read | o.Properties |
Failure | Exception | read | o.Failure |
None | bool | read | o.None |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | AuthenticateResult Clone() |
Fail | Fail(value)Fail([ :failure = … ])Fail([ :failureMessage = … ])Fail([ :failure = …, :properties = … ])Fail([ :failureMessage = …, :properties = … ]) | static AuthenticateResult Fail(Exception failure)static AuthenticateResult Fail(Exception failure, AuthenticationProperties properties)static AuthenticateResult Fail(string failureMessage)static AuthenticateResult Fail(string failureMessage, AuthenticationProperties properties) |
NoResult | NoResult() | static AuthenticateResult NoResult() |
Success | Success(p1) | static AuthenticateResult Success(AuthenticationTicket ticket) |
AuthenticationBuilder class
Microsoft.AspNetCore.Authentication.AuthenticationBuilder · assembly Microsoft.AspNetCore.Authentication
Constructors
new AuthenticationBuilder(IServiceCollection services) |
Ring: new AuthenticationBuilder(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationBuilder().@New([ :param = value ]) or dnNew("AuthenticationBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Services | IServiceCollection | read | o.Services |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddPolicyScheme | callMethod("AddPolicyScheme",[p1,p2,p3]) | AuthenticationBuilder AddPolicyScheme(string authenticationScheme, string displayName, Action<PolicySchemeOptions> configureOptions) |
AddRemoteScheme | AddRemoteScheme([ :authenticationScheme = …, :displayName = …, :configureOptions = … ]) | AuthenticationBuilder AddRemoteScheme<TOptions, THandler>(string authenticationScheme, string displayName, Action<TOptions> configureOptions) |
AddScheme | AddScheme([ :authenticationScheme = …, :configureOptions = … ])AddScheme([ :authenticationScheme = …, :displayName = …, :configureOptions = … ]) | AuthenticationBuilder AddScheme<TOptions, THandler>(string authenticationScheme, string displayName, Action<TOptions> configureOptions)AuthenticationBuilder AddScheme<TOptions, THandler>(string authenticationScheme, Action<TOptions> configureOptions) |
AuthenticationConfigurationProviderExtensions class static
Microsoft.AspNetCore.Authentication.AuthenticationConfigurationProviderExtensions · assembly Microsoft.AspNetCore.Authentication
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetSchemeConfiguration | GetSchemeConfiguration(p1,p2) | static IConfiguration GetSchemeConfiguration(IAuthenticationConfigurationProvider provider, string authenticationScheme) |
AuthenticationFailureException class · extends Exception
Microsoft.AspNetCore.Authentication.AuthenticationFailureException · assembly Microsoft.AspNetCore.Authentication.Abstractions
Implements: ISerializable
Constructors
new AuthenticationFailureException(string message) |
new AuthenticationFailureException(string message, Exception innerException) |
Ring: new AuthenticationFailureException(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationFailureException().@New([ :param = value ]) or dnNew("AuthenticationFailureException",[ :param = value ]).
Members of the base class are inherited.
AuthenticationFeature class
Microsoft.AspNetCore.Authentication.AuthenticationFeature · assembly Microsoft.AspNetCore.Authentication.Core
Constructors
new AuthenticationFeature() |
Ring: new AuthenticationFeature(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationFeature().@New([ :param = value ]) or dnNew("AuthenticationFeature",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OriginalPathBase | PathString | read, write | o.OriginalPathBase o.OriginalPathBase = v |
OriginalPath | PathString | read, write | o.OriginalPath o.OriginalPath = v |
AuthenticationHandler class abstract
Microsoft.AspNetCore.Authentication.AuthenticationHandler`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Scheme | AuthenticationScheme | read | o.Scheme |
Options | TOptions | read | o.Options |
AuthenticationHandlerProvider class
Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider · assembly Microsoft.AspNetCore.Authentication.Core
Constructors
new AuthenticationHandlerProvider(IAuthenticationSchemeProvider schemes) |
Ring: new AuthenticationHandlerProvider(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationHandlerProvider().@New([ :param = value ]) or dnNew("AuthenticationHandlerProvider",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Schemes | IAuthenticationSchemeProvider | read | o.Schemes |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetHandlerAsync | callMethod("GetHandlerAsync",[p1,p2]) | Task<IAuthenticationHandler> GetHandlerAsync(HttpContext context, string authenticationScheme) |
AuthenticationHttpContextExtensions class static
Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AuthenticateAsync | AuthenticateAsync(value)AuthenticateAsync([ :context = … ])AuthenticateAsync([ :context = …, :scheme = … ]) | static Task<AuthenticateResult> AuthenticateAsync(HttpContext context)static Task<AuthenticateResult> AuthenticateAsync(HttpContext context, string scheme) |
ChallengeAsync | ChallengeAsync(value)ChallengeAsync([ :context = … ])ChallengeAsync([ :context = …, :scheme = … ])ChallengeAsync([ :context = …, :properties = … ])ChallengeAsync([ :context = …, :scheme = …, :properties = … ]) | static Task ChallengeAsync(HttpContext context, string scheme)static Task ChallengeAsync(HttpContext context)static Task ChallengeAsync(HttpContext context, AuthenticationProperties properties)static Task ChallengeAsync(HttpContext context, string scheme, AuthenticationProperties properties) |
ForbidAsync | ForbidAsync(value)ForbidAsync([ :context = … ])ForbidAsync([ :context = …, :scheme = … ])ForbidAsync([ :context = …, :properties = … ])ForbidAsync([ :context = …, :scheme = …, :properties = … ]) | static Task ForbidAsync(HttpContext context, string scheme)static Task ForbidAsync(HttpContext context)static Task ForbidAsync(HttpContext context, AuthenticationProperties properties)static Task ForbidAsync(HttpContext context, string scheme, AuthenticationProperties properties) |
GetTokenAsync | GetTokenAsync([ :context = …, :tokenName = … ])GetTokenAsync([ :context = …, :scheme = …, :tokenName = … ]) | static Task<string> GetTokenAsync(HttpContext context, string scheme, string tokenName)static Task<string> GetTokenAsync(HttpContext context, string tokenName) |
SignInAsync | SignInAsync([ :context = …, :principal = … ])SignInAsync([ :context = …, :scheme = …, :principal = … ])SignInAsync([ :context = …, :principal = …, :properties = … ])SignInAsync([ :context = …, :scheme = …, :principal = …, :properties = … ]) | static Task SignInAsync(HttpContext context, string scheme, ClaimsPrincipal principal)static Task SignInAsync(HttpContext context, ClaimsPrincipal principal)static Task SignInAsync(HttpContext context, ClaimsPrincipal principal, AuthenticationProperties properties)static Task SignInAsync(HttpContext context, string scheme, ClaimsPrincipal principal, AuthenticationProperties properties) |
SignOutAsync | SignOutAsync(value)SignOutAsync([ :context = … ])SignOutAsync([ :context = …, :properties = … ])SignOutAsync([ :context = …, :scheme = … ])SignOutAsync([ :context = …, :scheme = …, :properties = … ]) | static Task SignOutAsync(HttpContext context)static Task SignOutAsync(HttpContext context, AuthenticationProperties properties)static Task SignOutAsync(HttpContext context, string scheme)static Task SignOutAsync(HttpContext context, string scheme, AuthenticationProperties properties) |
AuthenticationMiddleware class
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware · assembly Microsoft.AspNetCore.Authentication
Constructors
new AuthenticationMiddleware(RequestDelegate next, IAuthenticationSchemeProvider schemes) |
Ring: new AuthenticationMiddleware(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationMiddleware().@New([ :param = value ]) or dnNew("AuthenticationMiddleware",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Schemes | IAuthenticationSchemeProvider | read, write | o.Schemes o.Schemes = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Invoke | callMethod("Invoke",[p1]) | Task Invoke(HttpContext context) |
AuthenticationOptions class
Microsoft.AspNetCore.Authentication.AuthenticationOptions · assembly Microsoft.AspNetCore.Authentication.Abstractions
Constructors
new AuthenticationOptions() |
Ring: new AuthenticationOptions(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationOptions().@New([ :param = value ]) or dnNew("AuthenticationOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Schemes | IEnumerable<AuthenticationSchemeBuilder> | read | o.Schemes |
SchemeMap | IDictionary<string, AuthenticationSchemeBuilder> | read | o.SchemeMap |
DefaultScheme | string | read, write | o.DefaultScheme o.DefaultScheme = v |
DefaultAuthenticateScheme | string | read, write | o.DefaultAuthenticateScheme o.DefaultAuthenticateScheme = v |
DefaultSignInScheme | string | read, write | o.DefaultSignInScheme o.DefaultSignInScheme = v |
DefaultSignOutScheme | string | read, write | o.DefaultSignOutScheme o.DefaultSignOutScheme = v |
DefaultChallengeScheme | string | read, write | o.DefaultChallengeScheme o.DefaultChallengeScheme = v |
DefaultForbidScheme | string | read, write | o.DefaultForbidScheme o.DefaultForbidScheme = v |
RequireAuthenticatedSignIn | bool | read, write | o.RequireAuthenticatedSignIn o.RequireAuthenticatedSignIn = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddScheme | AddScheme(p1,p2) | void AddScheme(string name, Action<AuthenticationSchemeBuilder> configureBuilder)void AddScheme<THandler>(string name, string displayName) |
AuthenticationProperties class
Microsoft.AspNetCore.Authentication.AuthenticationProperties · assembly Microsoft.AspNetCore.Authentication.Abstractions
Constructors
new AuthenticationProperties() |
new AuthenticationProperties(IDictionary<string, string> items) |
new AuthenticationProperties(IDictionary<string, string> items, IDictionary<string, object> parameters) |
Ring: new AuthenticationProperties(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationProperties().@New([ :param = value ]) or dnNew("AuthenticationProperties",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Items | IDictionary<string, string> | read | o.Items |
Parameters | IDictionary<string, object> | read | o.Parameters |
IsPersistent | bool | read, write | o.IsPersistent o.IsPersistent = v |
RedirectUri | string | read, write | o.RedirectUri o.RedirectUri = v |
IssuedUtc | DateTimeOffset? | read, write | o.IssuedUtc o.IssuedUtc = v |
ExpiresUtc | DateTimeOffset? | read, write | o.ExpiresUtc o.ExpiresUtc = v |
AllowRefresh | bool? | read, write | o.AllowRefresh o.AllowRefresh = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | AuthenticationProperties Clone() |
GetParameter | GetParameter(value)GetParameter([ :key = … ]) | T GetParameter<T>(string key) |
GetString | callMethod("GetString",[p1]) | string GetString(string key) |
SetParameter | SetParameter(p1,p2) | void SetParameter<T>(string key, T value) |
SetString | callMethod("SetString",[p1,p2]) | void SetString(string key, string value) |
AuthenticationScheme class
Microsoft.AspNetCore.Authentication.AuthenticationScheme · assembly Microsoft.AspNetCore.Authentication.Abstractions
Constructors
new AuthenticationScheme(string name, string displayName, Type handlerType) |
Ring: new AuthenticationScheme(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationScheme().@New([ :param = value ]) or dnNew("AuthenticationScheme",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
DisplayName | string | read | o.DisplayName |
HandlerType | Type | read | o.HandlerType |
AuthenticationSchemeBuilder class
Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder · assembly Microsoft.AspNetCore.Authentication.Abstractions
Constructors
new AuthenticationSchemeBuilder(string name) |
Ring: new AuthenticationSchemeBuilder(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationSchemeBuilder().@New([ :param = value ]) or dnNew("AuthenticationSchemeBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
DisplayName | string | read, write | o.DisplayName o.DisplayName = v |
HandlerType | Type | read, write | o.HandlerType o.HandlerType = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Build | callMethod("Build",[]) | AuthenticationScheme Build() |
AuthenticationSchemeOptions class
Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions · assembly Microsoft.AspNetCore.Authentication
Constructors
new AuthenticationSchemeOptions() |
Ring: new AuthenticationSchemeOptions(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationSchemeOptions().@New([ :param = value ]) or dnNew("AuthenticationSchemeOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ClaimsIssuer | string | read, write | o.ClaimsIssuer o.ClaimsIssuer = v |
Events | object | read, write | o.Events o.Events = v |
EventsType | Type | read, write | o.EventsType o.EventsType = v |
ForwardDefault | string | read, write | o.ForwardDefault o.ForwardDefault = v |
ForwardAuthenticate | string | read, write | o.ForwardAuthenticate o.ForwardAuthenticate = v |
ForwardChallenge | string | read, write | o.ForwardChallenge o.ForwardChallenge = v |
ForwardForbid | string | read, write | o.ForwardForbid o.ForwardForbid = v |
ForwardSignIn | string | read, write | o.ForwardSignIn o.ForwardSignIn = v |
ForwardSignOut | string | read, write | o.ForwardSignOut o.ForwardSignOut = v |
ForwardDefaultSelector | Func<HttpContext, string> | read, write | o.ForwardDefaultSelector o.ForwardDefaultSelector = v |
TimeProvider | TimeProvider | read, write | o.TimeProvider o.TimeProvider = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Validate | callMethod("Validate",[])callMethod("Validate",[p1]) | void Validate()void Validate(string scheme) |
AuthenticationSchemeProvider class
Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider · assembly Microsoft.AspNetCore.Authentication.Core
Constructors
new AuthenticationSchemeProvider(IOptions<AuthenticationOptions> options) |
Ring: new AuthenticationSchemeProvider(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationSchemeProvider().@New([ :param = value ]) or dnNew("AuthenticationSchemeProvider",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddScheme | AddScheme(p1) | void AddScheme(AuthenticationScheme scheme) |
GetAllSchemesAsync | callMethod("GetAllSchemesAsync",[]) | Task<IEnumerable<AuthenticationScheme>> GetAllSchemesAsync() |
GetDefaultAuthenticateSchemeAsync | callMethod("GetDefaultAuthenticateSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultAuthenticateSchemeAsync() |
GetDefaultChallengeSchemeAsync | callMethod("GetDefaultChallengeSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultChallengeSchemeAsync() |
GetDefaultForbidSchemeAsync | callMethod("GetDefaultForbidSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultForbidSchemeAsync() |
GetDefaultSignInSchemeAsync | callMethod("GetDefaultSignInSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultSignInSchemeAsync() |
GetDefaultSignOutSchemeAsync | callMethod("GetDefaultSignOutSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultSignOutSchemeAsync() |
GetRequestHandlerSchemesAsync | callMethod("GetRequestHandlerSchemesAsync",[]) | Task<IEnumerable<AuthenticationScheme>> GetRequestHandlerSchemesAsync() |
GetSchemeAsync | callMethod("GetSchemeAsync",[p1]) | Task<AuthenticationScheme> GetSchemeAsync(string name) |
RemoveScheme | callMethod("RemoveScheme",[p1]) | void RemoveScheme(string name) |
TryAddScheme | TryAddScheme(p1) | bool TryAddScheme(AuthenticationScheme scheme) |
AuthenticationService class
Microsoft.AspNetCore.Authentication.AuthenticationService · assembly Microsoft.AspNetCore.Authentication.Core
Constructors
new AuthenticationService(IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers, IClaimsTransformation transform, IOptions<AuthenticationOptions> options) |
Ring: new AuthenticationService(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationService().@New([ :param = value ]) or dnNew("AuthenticationService",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Schemes | IAuthenticationSchemeProvider | read | o.Schemes |
Handlers | IAuthenticationHandlerProvider | read | o.Handlers |
Transform | IClaimsTransformation | read | o.Transform |
Options | AuthenticationOptions | read | o.Options |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AuthenticateAsync | callMethod("AuthenticateAsync",[p1,p2]) | Task<AuthenticateResult> AuthenticateAsync(HttpContext context, string scheme) |
ChallengeAsync | callMethod("ChallengeAsync",[p1,p2,p3]) | Task ChallengeAsync(HttpContext context, string scheme, AuthenticationProperties properties) |
ForbidAsync | callMethod("ForbidAsync",[p1,p2,p3]) | Task ForbidAsync(HttpContext context, string scheme, AuthenticationProperties properties) |
SignInAsync | callMethod("SignInAsync",[p1,p2,p3,p4]) | Task SignInAsync(HttpContext context, string scheme, ClaimsPrincipal principal, AuthenticationProperties properties) |
SignOutAsync | callMethod("SignOutAsync",[p1,p2,p3]) | Task SignOutAsync(HttpContext context, string scheme, AuthenticationProperties properties) |
AuthenticationTicket class
Microsoft.AspNetCore.Authentication.AuthenticationTicket · assembly Microsoft.AspNetCore.Authentication.Abstractions
Constructors
new AuthenticationTicket(ClaimsPrincipal principal, AuthenticationProperties properties, string authenticationScheme) |
new AuthenticationTicket(ClaimsPrincipal principal, string authenticationScheme) |
Ring: new AuthenticationTicket(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationTicket().@New([ :param = value ]) or dnNew("AuthenticationTicket",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AuthenticationScheme | string | read | o.AuthenticationScheme |
Principal | ClaimsPrincipal | read | o.Principal |
Properties | AuthenticationProperties | read | o.Properties |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | AuthenticationTicket Clone() |
AuthenticationToken class
Microsoft.AspNetCore.Authentication.AuthenticationToken · assembly Microsoft.AspNetCore.Authentication.Abstractions
Constructors
new AuthenticationToken() |
Ring: new AuthenticationToken(args) uses one constructor; the others are chosen by the parameter names: new AuthenticationToken().@New([ :param = value ]) or dnNew("AuthenticationToken",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read, write | o.Name o.Name = v |
Value | string | read, write | o.Value o.Value = v |
AuthenticationTokenExtensions class static
Microsoft.AspNetCore.Authentication.AuthenticationTokenExtensions · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetTokenAsync | GetTokenAsync([ :auth = …, :context = …, :tokenName = … ])GetTokenAsync([ :auth = …, :context = …, :scheme = …, :tokenName = … ]) | static Task<string> GetTokenAsync(IAuthenticationService auth, HttpContext context, string tokenName)static Task<string> GetTokenAsync(IAuthenticationService auth, HttpContext context, string scheme, string tokenName) |
GetTokens | GetTokens(p1) | static IEnumerable<AuthenticationToken> GetTokens(AuthenticationProperties properties) |
GetTokenValue | GetTokenValue(p1,p2) | static string GetTokenValue(AuthenticationProperties properties, string tokenName) |
StoreTokens | StoreTokens(p1,p2) | static void StoreTokens(AuthenticationProperties properties, IEnumerable<AuthenticationToken> tokens) |
UpdateTokenValue | UpdateTokenValue(p1,p2,p3) | static bool UpdateTokenValue(AuthenticationProperties properties, string tokenName, string tokenValue) |
Base64UrlTextEncoder class static
Microsoft.AspNetCore.Authentication.Base64UrlTextEncoder · assembly Microsoft.AspNetCore.Authentication
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Decode | Decode(p1) | static byte[] Decode(string text) |
Encode | Encode(p1) | static string Encode(byte[] data) |
BaseContext class abstract
Microsoft.AspNetCore.Authentication.BaseContext`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Scheme | AuthenticationScheme | read | o.Scheme |
Options | TOptions | read | o.Options |
HttpContext | HttpContext | read | o.HttpContext |
Request | HttpRequest | read | o.Request |
Response | HttpResponse | read | o.Response |
ClaimActionCollectionMapExtensions class static
Microsoft.AspNetCore.Authentication.ClaimActionCollectionMapExtensions · assembly Microsoft.AspNetCore.Authentication.OAuth
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DeleteClaim | DeleteClaim(p1,p2) | static void DeleteClaim(ClaimActionCollection collection, string claimType) |
DeleteClaims | DeleteClaims(p1,p2) | static void DeleteClaims(ClaimActionCollection collection, string[] claimTypes) |
MapAll | MapAll(p1) | static void MapAll(ClaimActionCollection collection) |
MapAllExcept | MapAllExcept(p1,p2) | static void MapAllExcept(ClaimActionCollection collection, string[] exclusions) |
MapCustomJson | MapCustomJson([ :collection = …, :claimType = …, :resolver = … ])MapCustomJson([ :collection = …, :claimType = …, :valueType = …, :resolver = … ]) | static void MapCustomJson(ClaimActionCollection collection, string claimType, Func<JsonElement, string> resolver)static void MapCustomJson(ClaimActionCollection collection, string claimType, string valueType, Func<JsonElement, string> resolver) |
MapJsonKey | MapJsonKey([ :collection = …, :claimType = …, :jsonKey = … ])MapJsonKey([ :collection = …, :claimType = …, :jsonKey = …, :valueType = … ]) | static void MapJsonKey(ClaimActionCollection collection, string claimType, string jsonKey)static void MapJsonKey(ClaimActionCollection collection, string claimType, string jsonKey, string valueType) |
MapJsonSubKey | MapJsonSubKey([ :collection = …, :claimType = …, :jsonKey = …, :subKey = … ])MapJsonSubKey([ :collection = …, :claimType = …, :jsonKey = …, :subKey = …, :valueType = … ]) | static void MapJsonSubKey(ClaimActionCollection collection, string claimType, string jsonKey, string subKey)static void MapJsonSubKey(ClaimActionCollection collection, string claimType, string jsonKey, string subKey, string valueType) |
HandleRequestContext class · extends BaseContext<TOptions>
Microsoft.AspNetCore.Authentication.HandleRequestContext`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Result | HandleRequestResult | read | o.Result |
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | TOptions | read | o.getOptions() |
HttpContext | HttpContext | read | o.getHttpContext() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Members of the base class are inherited.
HandleRequestResult class · extends AuthenticateResult
Microsoft.AspNetCore.Authentication.HandleRequestResult · assembly Microsoft.AspNetCore.Authentication
Constructors
new HandleRequestResult() |
Ring: new HandleRequestResult(args) uses one constructor; the others are chosen by the parameter names: new HandleRequestResult().@New([ :param = value ]) or dnNew("HandleRequestResult",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Handled | bool | read | o.Handled |
Skipped | bool | read | o.Skipped |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Fail | Fail(value)Fail([ :failure = … ])Fail([ :failureMessage = … ])Fail([ :failure = …, :properties = … ])Fail([ :failureMessage = …, :properties = … ]) | static HandleRequestResult Fail(Exception failure)static HandleRequestResult Fail(Exception failure, AuthenticationProperties properties)static HandleRequestResult Fail(string failureMessage)static HandleRequestResult Fail(string failureMessage, AuthenticationProperties properties) |
Handle | Handle() | static HandleRequestResult Handle() |
NoResult | NoResult() | static HandleRequestResult NoResult() |
SkipHandler | SkipHandler() | static HandleRequestResult SkipHandler() |
Success | Success(p1) | static HandleRequestResult Success(AuthenticationTicket ticket) |
Members of the base class are inherited.
IAuthenticateResultFeature interface
Microsoft.AspNetCore.Authentication.IAuthenticateResultFeature · assembly Microsoft.AspNetCore.Authentication.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AuthenticateResult | AuthenticateResult | read, write | o.AuthenticateResult o.AuthenticateResult = v |
IAuthenticationConfigurationProvider interface
Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider · assembly Microsoft.AspNetCore.Authentication.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AuthenticationConfiguration | IConfiguration | read | o.AuthenticationConfiguration |
IAuthenticationFeature interface
Microsoft.AspNetCore.Authentication.IAuthenticationFeature · assembly Microsoft.AspNetCore.Authentication.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OriginalPathBase | PathString | read, write | o.OriginalPathBase o.OriginalPathBase = v |
OriginalPath | PathString | read, write | o.OriginalPath o.OriginalPath = v |
IAuthenticationHandler interface
Microsoft.AspNetCore.Authentication.IAuthenticationHandler · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AuthenticateAsync | callMethod("AuthenticateAsync",[]) | Task<AuthenticateResult> AuthenticateAsync() |
ChallengeAsync | callMethod("ChallengeAsync",[p1]) | Task ChallengeAsync(AuthenticationProperties properties) |
ForbidAsync | callMethod("ForbidAsync",[p1]) | Task ForbidAsync(AuthenticationProperties properties) |
InitializeAsync | callMethod("InitializeAsync",[p1,p2]) | Task InitializeAsync(AuthenticationScheme scheme, HttpContext context) |
IAuthenticationHandlerProvider interface
Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetHandlerAsync | callMethod("GetHandlerAsync",[p1,p2]) | Task<IAuthenticationHandler> GetHandlerAsync(HttpContext context, string authenticationScheme) |
IAuthenticationRequestHandler interface
Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HandleRequestAsync | callMethod("HandleRequestAsync",[]) | Task<bool> HandleRequestAsync() |
IAuthenticationSchemeProvider interface
Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddScheme | AddScheme(p1) | void AddScheme(AuthenticationScheme scheme) |
GetAllSchemesAsync | callMethod("GetAllSchemesAsync",[]) | Task<IEnumerable<AuthenticationScheme>> GetAllSchemesAsync() |
GetDefaultAuthenticateSchemeAsync | callMethod("GetDefaultAuthenticateSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultAuthenticateSchemeAsync() |
GetDefaultChallengeSchemeAsync | callMethod("GetDefaultChallengeSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultChallengeSchemeAsync() |
GetDefaultForbidSchemeAsync | callMethod("GetDefaultForbidSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultForbidSchemeAsync() |
GetDefaultSignInSchemeAsync | callMethod("GetDefaultSignInSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultSignInSchemeAsync() |
GetDefaultSignOutSchemeAsync | callMethod("GetDefaultSignOutSchemeAsync",[]) | Task<AuthenticationScheme> GetDefaultSignOutSchemeAsync() |
GetRequestHandlerSchemesAsync | callMethod("GetRequestHandlerSchemesAsync",[]) | Task<IEnumerable<AuthenticationScheme>> GetRequestHandlerSchemesAsync() |
GetSchemeAsync | callMethod("GetSchemeAsync",[p1]) | Task<AuthenticationScheme> GetSchemeAsync(string name) |
RemoveScheme | callMethod("RemoveScheme",[p1]) | void RemoveScheme(string name) |
TryAddScheme | TryAddScheme(p1) | bool TryAddScheme(AuthenticationScheme scheme) |
IAuthenticationService interface
Microsoft.AspNetCore.Authentication.IAuthenticationService · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AuthenticateAsync | callMethod("AuthenticateAsync",[p1,p2]) | Task<AuthenticateResult> AuthenticateAsync(HttpContext context, string scheme) |
ChallengeAsync | callMethod("ChallengeAsync",[p1,p2,p3]) | Task ChallengeAsync(HttpContext context, string scheme, AuthenticationProperties properties) |
ForbidAsync | callMethod("ForbidAsync",[p1,p2,p3]) | Task ForbidAsync(HttpContext context, string scheme, AuthenticationProperties properties) |
SignInAsync | callMethod("SignInAsync",[p1,p2,p3,p4]) | Task SignInAsync(HttpContext context, string scheme, ClaimsPrincipal principal, AuthenticationProperties properties) |
SignOutAsync | callMethod("SignOutAsync",[p1,p2,p3]) | Task SignOutAsync(HttpContext context, string scheme, AuthenticationProperties properties) |
IAuthenticationSignInHandler interface
Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
SignInAsync | callMethod("SignInAsync",[p1,p2]) | Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties properties) |
IAuthenticationSignOutHandler interface
Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
SignOutAsync | callMethod("SignOutAsync",[p1]) | Task SignOutAsync(AuthenticationProperties properties) |
IClaimsTransformation interface
Microsoft.AspNetCore.Authentication.IClaimsTransformation · assembly Microsoft.AspNetCore.Authentication.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
TransformAsync | callMethod("TransformAsync",[p1]) | Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal) |
IDataSerializer interface
Microsoft.AspNetCore.Authentication.IDataSerializer`1 · assembly Microsoft.AspNetCore.Authentication
ISecureDataFormat interface
Microsoft.AspNetCore.Authentication.ISecureDataFormat`1 · assembly Microsoft.AspNetCore.Authentication
JsonDocumentAuthExtensions class static
Microsoft.AspNetCore.Authentication.JsonDocumentAuthExtensions · assembly Microsoft.AspNetCore.Authentication
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetString | GetString(p1,p2) | static string GetString(JsonElement element, string key) |
NoopClaimsTransformation class
Microsoft.AspNetCore.Authentication.NoopClaimsTransformation · assembly Microsoft.AspNetCore.Authentication.Core
Constructors
new NoopClaimsTransformation() |
Ring: new NoopClaimsTransformation(args) uses one constructor; the others are chosen by the parameter names: new NoopClaimsTransformation().@New([ :param = value ]) or dnNew("NoopClaimsTransformation",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
TransformAsync | callMethod("TransformAsync",[p1]) | Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal) |
PolicySchemeHandler class · extends SignInAuthenticationHandler<PolicySchemeOptions>
Microsoft.AspNetCore.Authentication.PolicySchemeHandler · assembly Microsoft.AspNetCore.Authentication
Constructors
new PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) |
new PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder) |
Ring: new PolicySchemeHandler(args) uses one constructor; the others are chosen by the parameter names: new PolicySchemeHandler().@New([ :param = value ]) or dnNew("PolicySchemeHandler",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | PolicySchemeOptions | read | o.getOptions() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AuthenticateAsync | callMethod("AuthenticateAsync",[]) | Task<AuthenticateResult> AuthenticateAsync() |
ChallengeAsync | callMethod("ChallengeAsync",[p1]) | Task ChallengeAsync(AuthenticationProperties properties) |
ForbidAsync | callMethod("ForbidAsync",[p1]) | Task ForbidAsync(AuthenticationProperties properties) |
InitializeAsync | callMethod("InitializeAsync",[p1,p2]) | Task InitializeAsync(AuthenticationScheme scheme, HttpContext context) |
SignInAsync | callMethod("SignInAsync",[p1,p2]) | Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties properties) |
SignOutAsync | callMethod("SignOutAsync",[p1]) | Task SignOutAsync(AuthenticationProperties properties) |
Members of the base class are inherited.
PolicySchemeOptions class · extends AuthenticationSchemeOptions
Microsoft.AspNetCore.Authentication.PolicySchemeOptions · assembly Microsoft.AspNetCore.Authentication
Constructors
new PolicySchemeOptions() |
Ring: new PolicySchemeOptions(args) uses one constructor; the others are chosen by the parameter names: new PolicySchemeOptions().@New([ :param = value ]) or dnNew("PolicySchemeOptions",[ :param = value ]).
Members of the base class are inherited.
PrincipalContext class abstract · extends PropertiesContext<TOptions>
Microsoft.AspNetCore.Authentication.PrincipalContext`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Principal | ClaimsPrincipal | read, write | o.Principal o.Principal = v |
Properties | AuthenticationProperties | read | o.getProperties() |
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | TOptions | read | o.getOptions() |
HttpContext | HttpContext | read | o.getHttpContext() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Members of the base class are inherited.
PropertiesContext class abstract · extends BaseContext<TOptions>
Microsoft.AspNetCore.Authentication.PropertiesContext`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Properties | AuthenticationProperties | read | o.Properties |
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | TOptions | read | o.getOptions() |
HttpContext | HttpContext | read | o.getHttpContext() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Members of the base class are inherited.
PropertiesDataFormat class · extends SecureDataFormat<AuthenticationProperties>
Microsoft.AspNetCore.Authentication.PropertiesDataFormat · assembly Microsoft.AspNetCore.Authentication
Constructors
new PropertiesDataFormat(IDataProtector protector) |
Ring: new PropertiesDataFormat(args) uses one constructor; the others are chosen by the parameter names: new PropertiesDataFormat().@New([ :param = value ]) or dnNew("PropertiesDataFormat",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Protect | callMethod("Protect",[p1])callMethod("Protect",[p1,p2]) | string Protect(AuthenticationProperties data)string Protect(AuthenticationProperties data, string purpose) |
Unprotect | Unprotect(value)Unprotect([ :protectedText = … ])Unprotect([ :protectedText = …, :purpose = … ]) | AuthenticationProperties Unprotect(string protectedText)AuthenticationProperties Unprotect(string protectedText, string purpose) |
Members of the base class are inherited.
PropertiesSerializer class
Microsoft.AspNetCore.Authentication.PropertiesSerializer · assembly Microsoft.AspNetCore.Authentication
Constructors
new PropertiesSerializer() |
Ring: new PropertiesSerializer(args) uses one constructor; the others are chosen by the parameter names: new PropertiesSerializer().@New([ :param = value ]) or dnNew("PropertiesSerializer",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Default | PropertiesSerializer | read · static | o.Default |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Deserialize | callMethod("Deserialize",[p1]) | AuthenticationProperties Deserialize(byte[] data) |
Read | callMethod("Read",[p1]) | AuthenticationProperties Read(BinaryReader reader) |
Serialize | callMethod("Serialize",[p1]) | byte[] Serialize(AuthenticationProperties model) |
Write | Write(p1,p2) | void Write(BinaryWriter writer, AuthenticationProperties properties) |
RedirectContext class · extends PropertiesContext<TOptions>
Microsoft.AspNetCore.Authentication.RedirectContext`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
RedirectUri | string | read, write | o.RedirectUri o.RedirectUri = v |
Properties | AuthenticationProperties | read | o.getProperties() |
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | TOptions | read | o.getOptions() |
HttpContext | HttpContext | read | o.getHttpContext() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Members of the base class are inherited.
RemoteAuthenticationContext class abstract · extends HandleRequestContext<TOptions>
Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Principal | ClaimsPrincipal | read, write | o.Principal o.Principal = v |
Properties | AuthenticationProperties | read, write | o.Properties o.Properties = v |
Result | HandleRequestResult | read | o.getResult() |
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | TOptions | read | o.getOptions() |
HttpContext | HttpContext | read | o.getHttpContext() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Members of the base class are inherited.
RemoteAuthenticationEvents class
Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents · assembly Microsoft.AspNetCore.Authentication
Constructors
new RemoteAuthenticationEvents() |
Ring: new RemoteAuthenticationEvents(args) uses one constructor; the others are chosen by the parameter names: new RemoteAuthenticationEvents().@New([ :param = value ]) or dnNew("RemoteAuthenticationEvents",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OnAccessDenied | Func<AccessDeniedContext, Task> | read, write | o.OnAccessDenied o.OnAccessDenied = v |
OnRemoteFailure | Func<RemoteFailureContext, Task> | read, write | o.OnRemoteFailure o.OnRemoteFailure = v |
OnTicketReceived | Func<TicketReceivedContext, Task> | read, write | o.OnTicketReceived o.OnTicketReceived = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AccessDenied | callMethod("AccessDenied",[p1]) | Task AccessDenied(AccessDeniedContext context) |
RemoteFailure | callMethod("RemoteFailure",[p1]) | Task RemoteFailure(RemoteFailureContext context) |
TicketReceived | callMethod("TicketReceived",[p1]) | Task TicketReceived(TicketReceivedContext context) |
RemoteAuthenticationHandler class abstract · extends AuthenticationHandler<TOptions>
Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | TOptions | read | o.getOptions() |
Members of the base class are inherited.
RemoteAuthenticationOptions class · extends AuthenticationSchemeOptions
Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions · assembly Microsoft.AspNetCore.Authentication
Constructors
new RemoteAuthenticationOptions() |
Ring: new RemoteAuthenticationOptions(args) uses one constructor; the others are chosen by the parameter names: new RemoteAuthenticationOptions().@New([ :param = value ]) or dnNew("RemoteAuthenticationOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BackchannelTimeout | TimeSpan | read, write | o.BackchannelTimeout o.BackchannelTimeout = v |
BackchannelHttpHandler | HttpMessageHandler | read, write | o.BackchannelHttpHandler o.BackchannelHttpHandler = v |
Backchannel | HttpClient | read, write | o.Backchannel o.Backchannel = v |
DataProtectionProvider | IDataProtectionProvider | read, write | o.DataProtectionProvider o.DataProtectionProvider = v |
CallbackPath | PathString | read, write | o.CallbackPath o.CallbackPath = v |
AccessDeniedPath | PathString | read, write | o.AccessDeniedPath o.AccessDeniedPath = v |
ReturnUrlParameter | string | read, write | o.ReturnUrlParameter o.ReturnUrlParameter = v |
SignInScheme | string | read, write | o.SignInScheme o.SignInScheme = v |
RemoteAuthenticationTimeout | TimeSpan | read, write | o.RemoteAuthenticationTimeout o.RemoteAuthenticationTimeout = v |
Events | RemoteAuthenticationEvents | read, write | o.getEvents() o.setEvents(v) |
SaveTokens | bool | read, write | o.SaveTokens o.SaveTokens = v |
CorrelationCookie | CookieBuilder | read, write | o.CorrelationCookie o.CorrelationCookie = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Validate | callMethod("Validate",[])callMethod("Validate",[p1]) | void Validate(string scheme)void Validate() |
Members of the base class are inherited.
RemoteFailureContext class · extends HandleRequestContext<RemoteAuthenticationOptions>
Microsoft.AspNetCore.Authentication.RemoteFailureContext · assembly Microsoft.AspNetCore.Authentication
Constructors
new RemoteFailureContext(HttpContext context, AuthenticationScheme scheme, RemoteAuthenticationOptions options, Exception failure) |
Ring: new RemoteFailureContext(args) uses one constructor; the others are chosen by the parameter names: new RemoteFailureContext().@New([ :param = value ]) or dnNew("RemoteFailureContext",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Failure | Exception | read, write | o.Failure o.Failure = v |
Properties | AuthenticationProperties | read, write | o.Properties o.Properties = v |
Result | HandleRequestResult | read | o.getResult() |
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | RemoteAuthenticationOptions | read | o.getOptions() |
HttpContext | HttpContext | read | o.getHttpContext() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HandleResponse | callMethod("HandleResponse",[]) | void HandleResponse() |
SkipHandler | callMethod("SkipHandler",[]) | void SkipHandler() |
Members of the base class are inherited.
RequestPathBaseCookieBuilder class · extends CookieBuilder
Microsoft.AspNetCore.Authentication.RequestPathBaseCookieBuilder · assembly Microsoft.AspNetCore.Authentication
Constructors
new RequestPathBaseCookieBuilder() |
Ring: new RequestPathBaseCookieBuilder(args) uses one constructor; the others are chosen by the parameter names: new RequestPathBaseCookieBuilder().@New([ :param = value ]) or dnNew("RequestPathBaseCookieBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Build | Build([ :context = …, :expiresFrom = … ]) | CookieOptions Build(HttpContext context, DateTimeOffset expiresFrom) |
Members of the base class are inherited.
ResultContext class abstract · extends BaseContext<TOptions>
Microsoft.AspNetCore.Authentication.ResultContext`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Principal | ClaimsPrincipal | read, write | o.Principal o.Principal = v |
Properties | AuthenticationProperties | read, write | o.Properties o.Properties = v |
Result | AuthenticateResult | read | o.Result |
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | TOptions | read | o.getOptions() |
HttpContext | HttpContext | read | o.getHttpContext() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Members of the base class are inherited.
SecureDataFormat class
Microsoft.AspNetCore.Authentication.SecureDataFormat`1 · assembly Microsoft.AspNetCore.Authentication
SignInAuthenticationHandler class abstract · extends SignOutAuthenticationHandler<TOptions>
Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | TOptions | read | o.getOptions() |
Members of the base class are inherited.
SignOutAuthenticationHandler class abstract · extends AuthenticationHandler<TOptions>
Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler`1 · assembly Microsoft.AspNetCore.Authentication
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | TOptions | read | o.getOptions() |
Members of the base class are inherited.
TicketDataFormat class · extends SecureDataFormat<AuthenticationTicket>
Microsoft.AspNetCore.Authentication.TicketDataFormat · assembly Microsoft.AspNetCore.Authentication
Constructors
new TicketDataFormat(IDataProtector protector) |
Ring: new TicketDataFormat(args) uses one constructor; the others are chosen by the parameter names: new TicketDataFormat().@New([ :param = value ]) or dnNew("TicketDataFormat",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Protect | callMethod("Protect",[p1])callMethod("Protect",[p1,p2]) | string Protect(AuthenticationTicket data)string Protect(AuthenticationTicket data, string purpose) |
Unprotect | Unprotect(value)Unprotect([ :protectedText = … ])Unprotect([ :protectedText = …, :purpose = … ]) | AuthenticationTicket Unprotect(string protectedText)AuthenticationTicket Unprotect(string protectedText, string purpose) |
Members of the base class are inherited.
TicketReceivedContext class · extends RemoteAuthenticationContext<RemoteAuthenticationOptions>
Microsoft.AspNetCore.Authentication.TicketReceivedContext · assembly Microsoft.AspNetCore.Authentication
Constructors
new TicketReceivedContext(HttpContext context, AuthenticationScheme scheme, RemoteAuthenticationOptions options, AuthenticationTicket ticket) |
Ring: new TicketReceivedContext(args) uses one constructor; the others are chosen by the parameter names: new TicketReceivedContext().@New([ :param = value ]) or dnNew("TicketReceivedContext",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ReturnUri | string | read, write | o.ReturnUri o.ReturnUri = v |
Principal | ClaimsPrincipal | read, write | o.getPrincipal() o.setPrincipal(v) |
Properties | AuthenticationProperties | read, write | o.getProperties() o.setProperties(v) |
Result | HandleRequestResult | read | o.getResult() |
Scheme | AuthenticationScheme | read | o.getScheme() |
Options | RemoteAuthenticationOptions | read | o.getOptions() |
HttpContext | HttpContext | read | o.getHttpContext() |
Request | HttpRequest | read | o.getRequest() |
Response | HttpResponse | read | o.getResponse() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Fail | Fail(p1) | void Fail(Exception failure)void Fail(string failureMessage) |
HandleResponse | callMethod("HandleResponse",[]) | void HandleResponse() |
SkipHandler | callMethod("SkipHandler",[]) | void SkipHandler() |
Success | callMethod("Success",[]) | void Success() |
Members of the base class are inherited.
TicketSerializer class
Microsoft.AspNetCore.Authentication.TicketSerializer · assembly Microsoft.AspNetCore.Authentication
Constructors
new TicketSerializer() |
Ring: new TicketSerializer(args) uses one constructor; the others are chosen by the parameter names: new TicketSerializer().@New([ :param = value ]) or dnNew("TicketSerializer",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Default | TicketSerializer | read · static | o.Default |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Deserialize | callMethod("Deserialize",[p1]) | AuthenticationTicket Deserialize(byte[] data) |
Read | callMethod("Read",[p1]) | AuthenticationTicket Read(BinaryReader reader) |
Serialize | callMethod("Serialize",[p1]) | byte[] Serialize(AuthenticationTicket ticket) |
Write | Write(p1,p2) | void Write(BinaryWriter writer, AuthenticationTicket ticket) |