RingDotNetfor Ring

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

NameTypeAccessIn Ring
AccessDeniedPathPathStringread, writeo.AccessDeniedPath o.AccessDeniedPath = v
PropertiesAuthenticationPropertiesread, writeo.Properties o.Properties = v
ReturnUrlstringread, writeo.ReturnUrl o.ReturnUrl = v
ReturnUrlParameterstringread, writeo.ReturnUrlParameter o.ReturnUrlParameter = v
ResultHandleRequestResultreado.getResult()
SchemeAuthenticationSchemereado.getScheme()
OptionsRemoteAuthenticationOptionsreado.getOptions()
HttpContextHttpContextreado.getHttpContext()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.getResponse()

Methods

MethodRing call.NET overloads
HandleResponsecallMethod("HandleResponse",[])void HandleResponse()
SkipHandlercallMethod("SkipHandler",[])void SkipHandler()

Members of the base class are inherited.

AuthenticateResult class

Microsoft.AspNetCore.Authentication.AuthenticateResult · assembly Microsoft.AspNetCore.Authentication.Abstractions

Properties and fields

NameTypeAccessIn Ring
Succeededboolreado.Succeeded
TicketAuthenticationTicketreado.Ticket
PrincipalClaimsPrincipalreado.Principal
PropertiesAuthenticationPropertiesreado.Properties
FailureExceptionreado.Failure
Noneboolreado.None

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])AuthenticateResult Clone()
FailFail(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)
NoResultNoResult()static AuthenticateResult NoResult()
SuccessSuccess(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

NameTypeAccessIn Ring
ServicesIServiceCollectionreado.Services

Methods

MethodRing call.NET overloads
AddPolicySchemecallMethod("AddPolicyScheme",[p1,p2,p3])AuthenticationBuilder AddPolicyScheme(string authenticationScheme, string displayName, Action<PolicySchemeOptions> configureOptions)
AddRemoteSchemeAddRemoteScheme([ :authenticationScheme = …, :displayName = …, :configureOptions = … ])AuthenticationBuilder AddRemoteScheme<TOptions, THandler>(string authenticationScheme, string displayName, Action<TOptions> configureOptions)
AddSchemeAddScheme([ :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

MethodRing call.NET overloads
GetSchemeConfigurationGetSchemeConfiguration(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

NameTypeAccessIn Ring
OriginalPathBasePathStringread, writeo.OriginalPathBase o.OriginalPathBase = v
OriginalPathPathStringread, writeo.OriginalPath o.OriginalPath = v
AuthenticationHandler class abstract

Microsoft.AspNetCore.Authentication.AuthenticationHandler`1 · assembly Microsoft.AspNetCore.Authentication

Properties and fields

NameTypeAccessIn Ring
SchemeAuthenticationSchemereado.Scheme
OptionsTOptionsreado.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

NameTypeAccessIn Ring
SchemesIAuthenticationSchemeProviderreado.Schemes

Methods

MethodRing call.NET overloads
GetHandlerAsynccallMethod("GetHandlerAsync",[p1,p2])Task<IAuthenticationHandler> GetHandlerAsync(HttpContext context, string authenticationScheme)
AuthenticationHttpContextExtensions class static

Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
AuthenticateAsyncAuthenticateAsync(value)
AuthenticateAsync([ :context = … ])
AuthenticateAsync([ :context = …, :scheme = … ])
static Task<AuthenticateResult> AuthenticateAsync(HttpContext context)
static Task<AuthenticateResult> AuthenticateAsync(HttpContext context, string scheme)
ChallengeAsyncChallengeAsync(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)
ForbidAsyncForbidAsync(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)
GetTokenAsyncGetTokenAsync([ :context = …, :tokenName = … ])
GetTokenAsync([ :context = …, :scheme = …, :tokenName = … ])
static Task<string> GetTokenAsync(HttpContext context, string scheme, string tokenName)
static Task<string> GetTokenAsync(HttpContext context, string tokenName)
SignInAsyncSignInAsync([ :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)
SignOutAsyncSignOutAsync(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

NameTypeAccessIn Ring
SchemesIAuthenticationSchemeProviderread, writeo.Schemes o.Schemes = v

Methods

MethodRing call.NET overloads
InvokecallMethod("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

NameTypeAccessIn Ring
SchemesIEnumerable<AuthenticationSchemeBuilder>reado.Schemes
SchemeMapIDictionary<string, AuthenticationSchemeBuilder>reado.SchemeMap
DefaultSchemestringread, writeo.DefaultScheme o.DefaultScheme = v
DefaultAuthenticateSchemestringread, writeo.DefaultAuthenticateScheme o.DefaultAuthenticateScheme = v
DefaultSignInSchemestringread, writeo.DefaultSignInScheme o.DefaultSignInScheme = v
DefaultSignOutSchemestringread, writeo.DefaultSignOutScheme o.DefaultSignOutScheme = v
DefaultChallengeSchemestringread, writeo.DefaultChallengeScheme o.DefaultChallengeScheme = v
DefaultForbidSchemestringread, writeo.DefaultForbidScheme o.DefaultForbidScheme = v
RequireAuthenticatedSignInboolread, writeo.RequireAuthenticatedSignIn o.RequireAuthenticatedSignIn = v

Methods

MethodRing call.NET overloads
AddSchemeAddScheme(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

NameTypeAccessIn Ring
ItemsIDictionary<string, string>reado.Items
ParametersIDictionary<string, object>reado.Parameters
IsPersistentboolread, writeo.IsPersistent o.IsPersistent = v
RedirectUristringread, writeo.RedirectUri o.RedirectUri = v
IssuedUtcDateTimeOffset?read, writeo.IssuedUtc o.IssuedUtc = v
ExpiresUtcDateTimeOffset?read, writeo.ExpiresUtc o.ExpiresUtc = v
AllowRefreshbool?read, writeo.AllowRefresh o.AllowRefresh = v

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])AuthenticationProperties Clone()
GetParameterGetParameter(value)
GetParameter([ :key = … ])
T GetParameter<T>(string key)
GetStringcallMethod("GetString",[p1])string GetString(string key)
SetParameterSetParameter(p1,p2)void SetParameter<T>(string key, T value)
SetStringcallMethod("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

NameTypeAccessIn Ring
Namestringreado.Name
DisplayNamestringreado.DisplayName
HandlerTypeTypereado.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

NameTypeAccessIn Ring
Namestringreado.Name
DisplayNamestringread, writeo.DisplayName o.DisplayName = v
HandlerTypeTyperead, writeo.HandlerType o.HandlerType = v

Methods

MethodRing call.NET overloads
BuildcallMethod("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

NameTypeAccessIn Ring
ClaimsIssuerstringread, writeo.ClaimsIssuer o.ClaimsIssuer = v
Eventsobjectread, writeo.Events o.Events = v
EventsTypeTyperead, writeo.EventsType o.EventsType = v
ForwardDefaultstringread, writeo.ForwardDefault o.ForwardDefault = v
ForwardAuthenticatestringread, writeo.ForwardAuthenticate o.ForwardAuthenticate = v
ForwardChallengestringread, writeo.ForwardChallenge o.ForwardChallenge = v
ForwardForbidstringread, writeo.ForwardForbid o.ForwardForbid = v
ForwardSignInstringread, writeo.ForwardSignIn o.ForwardSignIn = v
ForwardSignOutstringread, writeo.ForwardSignOut o.ForwardSignOut = v
ForwardDefaultSelectorFunc<HttpContext, string>read, writeo.ForwardDefaultSelector o.ForwardDefaultSelector = v
TimeProviderTimeProviderread, writeo.TimeProvider o.TimeProvider = v

Methods

MethodRing call.NET overloads
ValidatecallMethod("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

MethodRing call.NET overloads
AddSchemeAddScheme(p1)void AddScheme(AuthenticationScheme scheme)
GetAllSchemesAsynccallMethod("GetAllSchemesAsync",[])Task<IEnumerable<AuthenticationScheme>> GetAllSchemesAsync()
GetDefaultAuthenticateSchemeAsynccallMethod("GetDefaultAuthenticateSchemeAsync",[])Task<AuthenticationScheme> GetDefaultAuthenticateSchemeAsync()
GetDefaultChallengeSchemeAsynccallMethod("GetDefaultChallengeSchemeAsync",[])Task<AuthenticationScheme> GetDefaultChallengeSchemeAsync()
GetDefaultForbidSchemeAsynccallMethod("GetDefaultForbidSchemeAsync",[])Task<AuthenticationScheme> GetDefaultForbidSchemeAsync()
GetDefaultSignInSchemeAsynccallMethod("GetDefaultSignInSchemeAsync",[])Task<AuthenticationScheme> GetDefaultSignInSchemeAsync()
GetDefaultSignOutSchemeAsynccallMethod("GetDefaultSignOutSchemeAsync",[])Task<AuthenticationScheme> GetDefaultSignOutSchemeAsync()
GetRequestHandlerSchemesAsynccallMethod("GetRequestHandlerSchemesAsync",[])Task<IEnumerable<AuthenticationScheme>> GetRequestHandlerSchemesAsync()
GetSchemeAsynccallMethod("GetSchemeAsync",[p1])Task<AuthenticationScheme> GetSchemeAsync(string name)
RemoveSchemecallMethod("RemoveScheme",[p1])void RemoveScheme(string name)
TryAddSchemeTryAddScheme(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

NameTypeAccessIn Ring
SchemesIAuthenticationSchemeProviderreado.Schemes
HandlersIAuthenticationHandlerProviderreado.Handlers
TransformIClaimsTransformationreado.Transform
OptionsAuthenticationOptionsreado.Options

Methods

MethodRing call.NET overloads
AuthenticateAsynccallMethod("AuthenticateAsync",[p1,p2])Task<AuthenticateResult> AuthenticateAsync(HttpContext context, string scheme)
ChallengeAsynccallMethod("ChallengeAsync",[p1,p2,p3])Task ChallengeAsync(HttpContext context, string scheme, AuthenticationProperties properties)
ForbidAsynccallMethod("ForbidAsync",[p1,p2,p3])Task ForbidAsync(HttpContext context, string scheme, AuthenticationProperties properties)
SignInAsynccallMethod("SignInAsync",[p1,p2,p3,p4])Task SignInAsync(HttpContext context, string scheme, ClaimsPrincipal principal, AuthenticationProperties properties)
SignOutAsynccallMethod("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

NameTypeAccessIn Ring
AuthenticationSchemestringreado.AuthenticationScheme
PrincipalClaimsPrincipalreado.Principal
PropertiesAuthenticationPropertiesreado.Properties

Methods

MethodRing call.NET overloads
ClonecallMethod("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

NameTypeAccessIn Ring
Namestringread, writeo.Name o.Name = v
Valuestringread, writeo.Value o.Value = v
AuthenticationTokenExtensions class static

Microsoft.AspNetCore.Authentication.AuthenticationTokenExtensions · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
GetTokenAsyncGetTokenAsync([ :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)
GetTokensGetTokens(p1)static IEnumerable<AuthenticationToken> GetTokens(AuthenticationProperties properties)
GetTokenValueGetTokenValue(p1,p2)static string GetTokenValue(AuthenticationProperties properties, string tokenName)
StoreTokensStoreTokens(p1,p2)static void StoreTokens(AuthenticationProperties properties, IEnumerable<AuthenticationToken> tokens)
UpdateTokenValueUpdateTokenValue(p1,p2,p3)static bool UpdateTokenValue(AuthenticationProperties properties, string tokenName, string tokenValue)
Base64UrlTextEncoder class static

Microsoft.AspNetCore.Authentication.Base64UrlTextEncoder · assembly Microsoft.AspNetCore.Authentication

Methods

MethodRing call.NET overloads
DecodeDecode(p1)static byte[] Decode(string text)
EncodeEncode(p1)static string Encode(byte[] data)
BaseContext class abstract

Microsoft.AspNetCore.Authentication.BaseContext`1 · assembly Microsoft.AspNetCore.Authentication

Properties and fields

NameTypeAccessIn Ring
SchemeAuthenticationSchemereado.Scheme
OptionsTOptionsreado.Options
HttpContextHttpContextreado.HttpContext
RequestHttpRequestreado.Request
ResponseHttpResponsereado.Response
ClaimActionCollectionMapExtensions class static

Microsoft.AspNetCore.Authentication.ClaimActionCollectionMapExtensions · assembly Microsoft.AspNetCore.Authentication.OAuth

Methods

MethodRing call.NET overloads
DeleteClaimDeleteClaim(p1,p2)static void DeleteClaim(ClaimActionCollection collection, string claimType)
DeleteClaimsDeleteClaims(p1,p2)static void DeleteClaims(ClaimActionCollection collection, string[] claimTypes)
MapAllMapAll(p1)static void MapAll(ClaimActionCollection collection)
MapAllExceptMapAllExcept(p1,p2)static void MapAllExcept(ClaimActionCollection collection, string[] exclusions)
MapCustomJsonMapCustomJson([ :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)
MapJsonKeyMapJsonKey([ :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)
MapJsonSubKeyMapJsonSubKey([ :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

NameTypeAccessIn Ring
ResultHandleRequestResultreado.Result
SchemeAuthenticationSchemereado.getScheme()
OptionsTOptionsreado.getOptions()
HttpContextHttpContextreado.getHttpContext()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.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

NameTypeAccessIn Ring
Handledboolreado.Handled
Skippedboolreado.Skipped

Methods

MethodRing call.NET overloads
FailFail(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)
HandleHandle()static HandleRequestResult Handle()
NoResultNoResult()static HandleRequestResult NoResult()
SkipHandlerSkipHandler()static HandleRequestResult SkipHandler()
SuccessSuccess(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

NameTypeAccessIn Ring
AuthenticateResultAuthenticateResultread, writeo.AuthenticateResult o.AuthenticateResult = v
IAuthenticationConfigurationProvider interface

Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider · assembly Microsoft.AspNetCore.Authentication.Abstractions

Properties and fields

NameTypeAccessIn Ring
AuthenticationConfigurationIConfigurationreado.AuthenticationConfiguration
IAuthenticationFeature interface

Microsoft.AspNetCore.Authentication.IAuthenticationFeature · assembly Microsoft.AspNetCore.Authentication.Abstractions

Properties and fields

NameTypeAccessIn Ring
OriginalPathBasePathStringread, writeo.OriginalPathBase o.OriginalPathBase = v
OriginalPathPathStringread, writeo.OriginalPath o.OriginalPath = v
IAuthenticationHandler interface

Microsoft.AspNetCore.Authentication.IAuthenticationHandler · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
AuthenticateAsynccallMethod("AuthenticateAsync",[])Task<AuthenticateResult> AuthenticateAsync()
ChallengeAsynccallMethod("ChallengeAsync",[p1])Task ChallengeAsync(AuthenticationProperties properties)
ForbidAsynccallMethod("ForbidAsync",[p1])Task ForbidAsync(AuthenticationProperties properties)
InitializeAsynccallMethod("InitializeAsync",[p1,p2])Task InitializeAsync(AuthenticationScheme scheme, HttpContext context)
IAuthenticationHandlerProvider interface

Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
GetHandlerAsynccallMethod("GetHandlerAsync",[p1,p2])Task<IAuthenticationHandler> GetHandlerAsync(HttpContext context, string authenticationScheme)
IAuthenticationRequestHandler interface

Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
HandleRequestAsynccallMethod("HandleRequestAsync",[])Task<bool> HandleRequestAsync()
IAuthenticationSchemeProvider interface

Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
AddSchemeAddScheme(p1)void AddScheme(AuthenticationScheme scheme)
GetAllSchemesAsynccallMethod("GetAllSchemesAsync",[])Task<IEnumerable<AuthenticationScheme>> GetAllSchemesAsync()
GetDefaultAuthenticateSchemeAsynccallMethod("GetDefaultAuthenticateSchemeAsync",[])Task<AuthenticationScheme> GetDefaultAuthenticateSchemeAsync()
GetDefaultChallengeSchemeAsynccallMethod("GetDefaultChallengeSchemeAsync",[])Task<AuthenticationScheme> GetDefaultChallengeSchemeAsync()
GetDefaultForbidSchemeAsynccallMethod("GetDefaultForbidSchemeAsync",[])Task<AuthenticationScheme> GetDefaultForbidSchemeAsync()
GetDefaultSignInSchemeAsynccallMethod("GetDefaultSignInSchemeAsync",[])Task<AuthenticationScheme> GetDefaultSignInSchemeAsync()
GetDefaultSignOutSchemeAsynccallMethod("GetDefaultSignOutSchemeAsync",[])Task<AuthenticationScheme> GetDefaultSignOutSchemeAsync()
GetRequestHandlerSchemesAsynccallMethod("GetRequestHandlerSchemesAsync",[])Task<IEnumerable<AuthenticationScheme>> GetRequestHandlerSchemesAsync()
GetSchemeAsynccallMethod("GetSchemeAsync",[p1])Task<AuthenticationScheme> GetSchemeAsync(string name)
RemoveSchemecallMethod("RemoveScheme",[p1])void RemoveScheme(string name)
TryAddSchemeTryAddScheme(p1)bool TryAddScheme(AuthenticationScheme scheme)
IAuthenticationService interface

Microsoft.AspNetCore.Authentication.IAuthenticationService · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
AuthenticateAsynccallMethod("AuthenticateAsync",[p1,p2])Task<AuthenticateResult> AuthenticateAsync(HttpContext context, string scheme)
ChallengeAsynccallMethod("ChallengeAsync",[p1,p2,p3])Task ChallengeAsync(HttpContext context, string scheme, AuthenticationProperties properties)
ForbidAsynccallMethod("ForbidAsync",[p1,p2,p3])Task ForbidAsync(HttpContext context, string scheme, AuthenticationProperties properties)
SignInAsynccallMethod("SignInAsync",[p1,p2,p3,p4])Task SignInAsync(HttpContext context, string scheme, ClaimsPrincipal principal, AuthenticationProperties properties)
SignOutAsynccallMethod("SignOutAsync",[p1,p2,p3])Task SignOutAsync(HttpContext context, string scheme, AuthenticationProperties properties)
IAuthenticationSignInHandler interface

Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
SignInAsynccallMethod("SignInAsync",[p1,p2])Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties properties)
IAuthenticationSignOutHandler interface

Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
SignOutAsynccallMethod("SignOutAsync",[p1])Task SignOutAsync(AuthenticationProperties properties)
IClaimsTransformation interface

Microsoft.AspNetCore.Authentication.IClaimsTransformation · assembly Microsoft.AspNetCore.Authentication.Abstractions

Methods

MethodRing call.NET overloads
TransformAsynccallMethod("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

MethodRing call.NET overloads
GetStringGetString(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

MethodRing call.NET overloads
TransformAsynccallMethod("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

NameTypeAccessIn Ring
SchemeAuthenticationSchemereado.getScheme()
OptionsPolicySchemeOptionsreado.getOptions()

Methods

MethodRing call.NET overloads
AuthenticateAsynccallMethod("AuthenticateAsync",[])Task<AuthenticateResult> AuthenticateAsync()
ChallengeAsynccallMethod("ChallengeAsync",[p1])Task ChallengeAsync(AuthenticationProperties properties)
ForbidAsynccallMethod("ForbidAsync",[p1])Task ForbidAsync(AuthenticationProperties properties)
InitializeAsynccallMethod("InitializeAsync",[p1,p2])Task InitializeAsync(AuthenticationScheme scheme, HttpContext context)
SignInAsynccallMethod("SignInAsync",[p1,p2])Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties properties)
SignOutAsynccallMethod("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

NameTypeAccessIn Ring
PrincipalClaimsPrincipalread, writeo.Principal o.Principal = v
PropertiesAuthenticationPropertiesreado.getProperties()
SchemeAuthenticationSchemereado.getScheme()
OptionsTOptionsreado.getOptions()
HttpContextHttpContextreado.getHttpContext()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.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

NameTypeAccessIn Ring
PropertiesAuthenticationPropertiesreado.Properties
SchemeAuthenticationSchemereado.getScheme()
OptionsTOptionsreado.getOptions()
HttpContextHttpContextreado.getHttpContext()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.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

MethodRing call.NET overloads
ProtectcallMethod("Protect",[p1])
callMethod("Protect",[p1,p2])
string Protect(AuthenticationProperties data)
string Protect(AuthenticationProperties data, string purpose)
UnprotectUnprotect(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

NameTypeAccessIn Ring
DefaultPropertiesSerializerread · statico.Default

Methods

MethodRing call.NET overloads
DeserializecallMethod("Deserialize",[p1])AuthenticationProperties Deserialize(byte[] data)
ReadcallMethod("Read",[p1])AuthenticationProperties Read(BinaryReader reader)
SerializecallMethod("Serialize",[p1])byte[] Serialize(AuthenticationProperties model)
WriteWrite(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

NameTypeAccessIn Ring
RedirectUristringread, writeo.RedirectUri o.RedirectUri = v
PropertiesAuthenticationPropertiesreado.getProperties()
SchemeAuthenticationSchemereado.getScheme()
OptionsTOptionsreado.getOptions()
HttpContextHttpContextreado.getHttpContext()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.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

NameTypeAccessIn Ring
PrincipalClaimsPrincipalread, writeo.Principal o.Principal = v
PropertiesAuthenticationPropertiesread, writeo.Properties o.Properties = v
ResultHandleRequestResultreado.getResult()
SchemeAuthenticationSchemereado.getScheme()
OptionsTOptionsreado.getOptions()
HttpContextHttpContextreado.getHttpContext()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.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

NameTypeAccessIn Ring
OnAccessDeniedFunc<AccessDeniedContext, Task>read, writeo.OnAccessDenied o.OnAccessDenied = v
OnRemoteFailureFunc<RemoteFailureContext, Task>read, writeo.OnRemoteFailure o.OnRemoteFailure = v
OnTicketReceivedFunc<TicketReceivedContext, Task>read, writeo.OnTicketReceived o.OnTicketReceived = v

Methods

MethodRing call.NET overloads
AccessDeniedcallMethod("AccessDenied",[p1])Task AccessDenied(AccessDeniedContext context)
RemoteFailurecallMethod("RemoteFailure",[p1])Task RemoteFailure(RemoteFailureContext context)
TicketReceivedcallMethod("TicketReceived",[p1])Task TicketReceived(TicketReceivedContext context)
RemoteAuthenticationHandler class abstract · extends AuthenticationHandler<TOptions>

Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1 · assembly Microsoft.AspNetCore.Authentication

Properties and fields

NameTypeAccessIn Ring
SchemeAuthenticationSchemereado.getScheme()
OptionsTOptionsreado.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

NameTypeAccessIn Ring
BackchannelTimeoutTimeSpanread, writeo.BackchannelTimeout o.BackchannelTimeout = v
BackchannelHttpHandlerHttpMessageHandlerread, writeo.BackchannelHttpHandler o.BackchannelHttpHandler = v
BackchannelHttpClientread, writeo.Backchannel o.Backchannel = v
DataProtectionProviderIDataProtectionProviderread, writeo.DataProtectionProvider o.DataProtectionProvider = v
CallbackPathPathStringread, writeo.CallbackPath o.CallbackPath = v
AccessDeniedPathPathStringread, writeo.AccessDeniedPath o.AccessDeniedPath = v
ReturnUrlParameterstringread, writeo.ReturnUrlParameter o.ReturnUrlParameter = v
SignInSchemestringread, writeo.SignInScheme o.SignInScheme = v
RemoteAuthenticationTimeoutTimeSpanread, writeo.RemoteAuthenticationTimeout o.RemoteAuthenticationTimeout = v
EventsRemoteAuthenticationEventsread, writeo.getEvents() o.setEvents(v)
SaveTokensboolread, writeo.SaveTokens o.SaveTokens = v
CorrelationCookieCookieBuilderread, writeo.CorrelationCookie o.CorrelationCookie = v

Methods

MethodRing call.NET overloads
ValidatecallMethod("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

NameTypeAccessIn Ring
FailureExceptionread, writeo.Failure o.Failure = v
PropertiesAuthenticationPropertiesread, writeo.Properties o.Properties = v
ResultHandleRequestResultreado.getResult()
SchemeAuthenticationSchemereado.getScheme()
OptionsRemoteAuthenticationOptionsreado.getOptions()
HttpContextHttpContextreado.getHttpContext()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.getResponse()

Methods

MethodRing call.NET overloads
HandleResponsecallMethod("HandleResponse",[])void HandleResponse()
SkipHandlercallMethod("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

MethodRing call.NET overloads
BuildBuild([ :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

NameTypeAccessIn Ring
PrincipalClaimsPrincipalread, writeo.Principal o.Principal = v
PropertiesAuthenticationPropertiesread, writeo.Properties o.Properties = v
ResultAuthenticateResultreado.Result
SchemeAuthenticationSchemereado.getScheme()
OptionsTOptionsreado.getOptions()
HttpContextHttpContextreado.getHttpContext()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.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

NameTypeAccessIn Ring
SchemeAuthenticationSchemereado.getScheme()
OptionsTOptionsreado.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

NameTypeAccessIn Ring
SchemeAuthenticationSchemereado.getScheme()
OptionsTOptionsreado.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

MethodRing call.NET overloads
ProtectcallMethod("Protect",[p1])
callMethod("Protect",[p1,p2])
string Protect(AuthenticationTicket data)
string Protect(AuthenticationTicket data, string purpose)
UnprotectUnprotect(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

NameTypeAccessIn Ring
ReturnUristringread, writeo.ReturnUri o.ReturnUri = v
PrincipalClaimsPrincipalread, writeo.getPrincipal() o.setPrincipal(v)
PropertiesAuthenticationPropertiesread, writeo.getProperties() o.setProperties(v)
ResultHandleRequestResultreado.getResult()
SchemeAuthenticationSchemereado.getScheme()
OptionsRemoteAuthenticationOptionsreado.getOptions()
HttpContextHttpContextreado.getHttpContext()
RequestHttpRequestreado.getRequest()
ResponseHttpResponsereado.getResponse()

Methods

MethodRing call.NET overloads
FailFail(p1)void Fail(Exception failure)
void Fail(string failureMessage)
HandleResponsecallMethod("HandleResponse",[])void HandleResponse()
SkipHandlercallMethod("SkipHandler",[])void SkipHandler()
SuccesscallMethod("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

NameTypeAccessIn Ring
DefaultTicketSerializerread · statico.Default

Methods

MethodRing call.NET overloads
DeserializecallMethod("Deserialize",[p1])AuthenticationTicket Deserialize(byte[] data)
ReadcallMethod("Read",[p1])AuthenticationTicket Read(BinaryReader reader)
SerializecallMethod("Serialize",[p1])byte[] Serialize(AuthenticationTicket ticket)
WriteWrite(p1,p2)void Write(BinaryWriter writer, AuthenticationTicket ticket)