Table of Contents

Class AuthEndpoints

Namespace
arolariu.Backend.Core.Auth.Endpoints
Assembly
arolariu.Backend.Core.Auth.dll

The auth endpoints.

public static class AuthEndpoints
Inheritance
AuthEndpoints
Inherited Members

Fields

EndpointNameTag

private const string EndpointNameTag = "Auth Management System v0.1.0-rc1"

Field Value

string

SemanticVersioning

private const string SemanticVersioning = "0.1.0-rc1"

Field Value

string

Methods

LogoutRoute(SignInManager<IdentityUser>, object)

Endpoint for logging out the current user.

private static Task<IResult> LogoutRoute(SignInManager<IdentityUser> signInManager, object empty)

Parameters

signInManager SignInManager<IdentityUser>
empty object

Returns

Task<IResult>

MapAuthEndpoints(IEndpointRouteBuilder)

The map auth endpoints static method, called by the app builder.

public static void MapAuthEndpoints(this IEndpointRouteBuilder router)

Parameters

router IEndpointRouteBuilder

MapIdentityBuiltinEndpoints(IEndpointRouteBuilder)

Method that maps the already built-in identity auth endpoints.

private static void MapIdentityBuiltinEndpoints(IEndpointRouteBuilder router)

Parameters

router IEndpointRouteBuilder