From cf59966db5923edf7a6185be20543920609c3155 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Thu, 29 Feb 2024 23:06:38 +0800 Subject: [PATCH] chore: update readme (#24) --- src/Logto.AspNetCore.Authentication/README.md | 12 +- .../AuthenticationBuilderExtensions/index.md | 30 -- .../methods/AddLogto.md | 79 ---- .../HttpContextExtensions/index.md | 29 -- .../methods/GetLogtoOptions.md | 54 --- .../constructors/index.md | 27 -- .../LogtoCookieContextManager/index.md | 36 -- .../methods/FetchTokensByRefreshToken.md | 33 -- .../methods/Handle.md | 27 -- .../methods/RefreshTokens.md | 31 -- .../fields/AuthenticationScheme.md | 25 -- .../LogtoDefaults/fields/CookieScheme.md | 25 -- .../Authentication/LogtoDefaults/index.md | 29 -- .../LogtoOptions/constructors/index.md | 20 - .../Authentication/LogtoOptions/index.md | 42 --- .../LogtoOptions/properties/AppId.md | 25 -- .../LogtoOptions/properties/AppSecret.md | 25 -- .../LogtoOptions/properties/CallbackPath.md | 25 -- .../LogtoOptions/properties/Endpoint.md | 25 -- .../GetClaimsFromUserInfoEndpoint.md | 25 -- .../LogtoOptions/properties/Prompt.md | 25 -- .../LogtoOptions/properties/Resource.md | 25 -- .../LogtoOptions/properties/Scopes.md | 25 -- .../properties/SignedOutCallbackPath.md | 25 -- .../LogtoParameters/Claims/fields/Audience.md | 25 -- .../Claims/fields/CustomData.md | 25 -- .../LogtoParameters/Claims/fields/Email.md | 25 -- .../Claims/fields/EmailVerified.md | 25 -- .../Claims/fields/Expiration.md | 25 -- .../Claims/fields/Identities.md | 25 -- .../LogtoParameters/Claims/fields/IssuedAt.md | 25 -- .../LogtoParameters/Claims/fields/Issuer.md | 25 -- .../LogtoParameters/Claims/fields/Name.md | 25 -- .../Claims/fields/PhoneNumber.md | 25 -- .../Claims/fields/PhoneNumberVerified.md | 25 -- .../LogtoParameters/Claims/fields/Picture.md | 25 -- .../LogtoParameters/Claims/fields/Subject.md | 25 -- .../LogtoParameters/Claims/fields/Username.md | 25 -- .../LogtoParameters/Claims/index.md | 42 --- .../Scopes/fields/CustomData.md | 25 -- .../LogtoParameters/Scopes/fields/Email.md | 25 -- .../Scopes/fields/Identities.md | 25 -- .../LogtoParameters/Scopes/fields/Phone.md | 25 -- .../LogtoParameters/Scopes/index.md | 32 -- .../Tokens/fields/AccessToken.md | 25 -- .../Tokens/fields/AccessTokenForResource.md | 25 -- .../Tokens/fields/ExpiresAt.md | 25 -- .../Tokens/fields/ExpiresAtForResource.md | 25 -- .../LogtoParameters/Tokens/fields/IdToken.md | 25 -- .../Tokens/fields/RefreshToken.md | 25 -- .../Tokens/fields/TokenType.md | 25 -- .../LogtoParameters/Tokens/index.md | 35 -- .../Authentication/LogtoParameters/index.md | 30 -- .../LogtoTokenResponse/constructors/index.md | 20 - .../LogtoTokenResponse/index.md | 38 -- .../properties/AccessToken.md | 26 -- .../properties/ExpiresIn.md | 26 -- .../LogtoTokenResponse/properties/IdToken.md | 26 -- .../properties/RefreshToken.md | 26 -- .../properties/TokenType.md | 26 -- .../Authentication/LogtoUtils/index.md | 29 -- .../LogtoUtils/methods/GetExpiresAt.md | 29 -- .../LogtoUtils/methods/IsExpired.md | 29 -- .../PromptMode/fields/Consent.md | 25 -- .../Authentication/PromptMode/fields/Login.md | 25 -- .../Authentication/PromptMode/index.md | 29 -- .../ServiceCollectionExtensions/index.md | 30 -- .../methods/AddLogtoAuthentication.md | 79 ---- .../Logto/AspNetCore/Authentication/index.md | 32 -- .../docs/api/Logto/AspNetCore/index.md | 18 - .../docs/api/Logto/index.md | 16 - .../docs/tutorial.md | 342 ------------------ 72 files changed, 3 insertions(+), 2356 deletions(-) delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/AuthenticationBuilderExtensions/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/AuthenticationBuilderExtensions/methods/AddLogto.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/HttpContextExtensions/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/HttpContextExtensions/methods/GetLogtoOptions.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/constructors/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/FetchTokensByRefreshToken.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/Handle.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/RefreshTokens.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/fields/AuthenticationScheme.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/fields/CookieScheme.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/constructors/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/AppId.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/AppSecret.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/CallbackPath.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Endpoint.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/GetClaimsFromUserInfoEndpoint.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Prompt.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Resource.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Scopes.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/SignedOutCallbackPath.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Audience.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/CustomData.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Email.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/EmailVerified.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Expiration.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Identities.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/IssuedAt.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Issuer.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Name.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/PhoneNumber.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/PhoneNumberVerified.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Picture.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Subject.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Username.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/CustomData.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Email.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Identities.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Phone.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/AccessToken.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/AccessTokenForResource.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/ExpiresAt.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/ExpiresAtForResource.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/IdToken.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/RefreshToken.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/TokenType.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/constructors/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/AccessToken.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/ExpiresIn.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/IdToken.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/RefreshToken.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/TokenType.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/methods/GetExpiresAt.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/methods/IsExpired.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/fields/Consent.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/fields/Login.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/ServiceCollectionExtensions/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/ServiceCollectionExtensions/methods/AddLogtoAuthentication.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/api/Logto/index.md delete mode 100644 src/Logto.AspNetCore.Authentication/docs/tutorial.md diff --git a/src/Logto.AspNetCore.Authentication/README.md b/src/Logto.AspNetCore.Authentication/README.md index 77a1993..96d83d4 100644 --- a/src/Logto.AspNetCore.Authentication/README.md +++ b/src/Logto.AspNetCore.Authentication/README.md @@ -14,7 +14,9 @@ ASP.NET Core authentication middleware for Logto. - A Logto traditional web application created - An ASP.NET Core web application created -If you don't have the Logto application created, please follow the [⚡ Get started](https://docs.logto.io/docs/tutorials/get-started/) guide to create one. +## Guide + +Check out our [docs](https://docs.logto.io/sdk/) and choose the right guide for your project. ## Installation @@ -22,14 +24,6 @@ If you don't have the Logto application created, please follow the [⚡ Get star dotnet add package Logto.AspNetCore.Authentication ``` -## Tutorial - -See [tutorial](https://github.com/logto-io/csharp/tree/HEAD/src/Logto.AspNetCore.Authentication/docs/tutorial.md) for a quick start. - -## API reference - -See [API reference](https://github.com/logto-io/csharp/tree/HEAD/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/index.md) for more details. - ## Sample project See [sample](https://github.com/logto-io/csharp/tree/HEAD/sample/) directory for a runnable sample project. diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/AuthenticationBuilderExtensions/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/AuthenticationBuilderExtensions/index.md deleted file mode 100644 index 6e83cd3..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/AuthenticationBuilderExtensions/index.md +++ /dev/null @@ -1,30 +0,0 @@ - - -# AuthenticationBuilderExtensions Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class AuthenticationBuilderExtensions -``` - -**Inheritance:** object → AuthenticationBuilderExtensions - -## Methods - -| Name | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | -| [AddLogto(AuthenticationBuilder, Action\)](methods/AddLogto.md#addlogtoauthenticationbuilder-actionlogtooptions) | | -| [AddLogto(AuthenticationBuilder, string, Action\)](methods/AddLogto.md#addlogtoauthenticationbuilder-string-actionlogtooptions) | | -| [AddLogto(AuthenticationBuilder, string, string, Action\)](methods/AddLogto.md#addlogtoauthenticationbuilder-string-string-actionlogtooptions) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/AuthenticationBuilderExtensions/methods/AddLogto.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/AuthenticationBuilderExtensions/methods/AddLogto.md deleted file mode 100644 index 9928e1f..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/AuthenticationBuilderExtensions/methods/AddLogto.md +++ /dev/null @@ -1,79 +0,0 @@ - - -# AuthenticationBuilderExtensions.AddLogto Method - -**Declaring Type:** [AuthenticationBuilderExtensions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -## Overloads - -| Signature | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | -| [AddLogto(AuthenticationBuilder, Action\)](#addlogtoauthenticationbuilder-actionlogtooptions) | | -| [AddLogto(AuthenticationBuilder, string, Action\)](#addlogtoauthenticationbuilder-string-actionlogtooptions) | | -| [AddLogto(AuthenticationBuilder, string, string, Action\)](#addlogtoauthenticationbuilder-string-string-actionlogtooptions) | | - -## AddLogto(AuthenticationBuilder, Action\) - -```csharp -public static AuthenticationBuilder AddLogto(this AuthenticationBuilder builder, Action configureOptions); -``` - -### Parameters - -`builder` AuthenticationBuilder - -`configureOptions` Action\<[LogtoOptions](../../LogtoOptions/index.md)\> - -### Returns - -AuthenticationBuilder - -## AddLogto(AuthenticationBuilder, string, Action\) - -```csharp -public static AuthenticationBuilder AddLogto(this AuthenticationBuilder builder, string authenticationScheme, Action configureOptions); -``` - -### Parameters - -`builder` AuthenticationBuilder - -`authenticationScheme` string - -`configureOptions` Action\<[LogtoOptions](../../LogtoOptions/index.md)\> - -### Returns - -AuthenticationBuilder - -## AddLogto(AuthenticationBuilder, string, string, Action\) - -```csharp -public static AuthenticationBuilder AddLogto(this AuthenticationBuilder builder, string authenticationScheme, string cookieScheme, Action configureOptions); -``` - -### Parameters - -`builder` AuthenticationBuilder - -`authenticationScheme` string - -`cookieScheme` string - -`configureOptions` Action\<[LogtoOptions](../../LogtoOptions/index.md)\> - -### Returns - -AuthenticationBuilder - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/HttpContextExtensions/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/HttpContextExtensions/index.md deleted file mode 100644 index 080b243..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/HttpContextExtensions/index.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# HttpContextExtensions Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class HttpContextExtensions -``` - -**Inheritance:** object → HttpContextExtensions - -## Methods - -| Name | Description | -| ---------------------------------------------------------------------------------------------------- | ----------- | -| [GetLogtoOptions(HttpContext)](methods/GetLogtoOptions.md#getlogtooptionshttpcontext) | | -| [GetLogtoOptions(HttpContext, string)](methods/GetLogtoOptions.md#getlogtooptionshttpcontext-string) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/HttpContextExtensions/methods/GetLogtoOptions.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/HttpContextExtensions/methods/GetLogtoOptions.md deleted file mode 100644 index 2bcfde6..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/HttpContextExtensions/methods/GetLogtoOptions.md +++ /dev/null @@ -1,54 +0,0 @@ - - -# HttpContextExtensions.GetLogtoOptions Method - -**Declaring Type:** [HttpContextExtensions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -## Overloads - -| Signature | Description | -| -------------------------------------------------------------------------- | ----------- | -| [GetLogtoOptions(HttpContext)](#getlogtooptionshttpcontext) | | -| [GetLogtoOptions(HttpContext, string)](#getlogtooptionshttpcontext-string) | | - -## GetLogtoOptions(HttpContext) - -```csharp -public static LogtoOptions GetLogtoOptions(this HttpContext httpContext); -``` - -### Parameters - -`httpContext` HttpContext - -### Returns - -[LogtoOptions](../../LogtoOptions/index.md) - -## GetLogtoOptions(HttpContext, string) - -```csharp -public static LogtoOptions GetLogtoOptions(this HttpContext httpContext, string authenticationScheme); -``` - -### Parameters - -`httpContext` HttpContext - -`authenticationScheme` string - -### Returns - -[LogtoOptions](../../LogtoOptions/index.md) - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/constructors/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/constructors/index.md deleted file mode 100644 index 7050798..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/constructors/index.md +++ /dev/null @@ -1,27 +0,0 @@ - - -# LogtoCookieContextManager Constructors - -**Declaring Type:** [LogtoCookieContextManager](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public LogtoCookieContextManager(string authenticationScheme, CookieValidatePrincipalContext context); -``` - -## Parameters - -`authenticationScheme` string - -`context` CookieValidatePrincipalContext - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/index.md deleted file mode 100644 index 4d941f3..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/index.md +++ /dev/null @@ -1,36 +0,0 @@ - - -# LogtoCookieContextManager Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public class LogtoCookieContextManager -``` - -**Inheritance:** object → LogtoCookieContextManager - -## Constructors - -| Name | Description | -| ------------------------------------------------------------------------------------------ | ----------- | -| [LogtoCookieContextManager(string, CookieValidatePrincipalContext)](constructors/index.md) | | - -## Methods - -| Name | Description | -| ------------------------------------------------------------------------------- | ----------- | -| [FetchTokensByRefreshToken(string, bool)](methods/FetchTokensByRefreshToken.md) | | -| [Handle()](methods/Handle.md) | | -| [RefreshTokens(bool)](methods/RefreshTokens.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/FetchTokensByRefreshToken.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/FetchTokensByRefreshToken.md deleted file mode 100644 index fe0264c..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/FetchTokensByRefreshToken.md +++ /dev/null @@ -1,33 +0,0 @@ - - -# LogtoCookieContextManager.FetchTokensByRefreshToken Method - -**Declaring Type:** [LogtoCookieContextManager](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -[AsyncStateMachine(Logto.AspNetCore.Authentication.LogtoCookieContextManager/d__11)] -[DebuggerStepThrough] -public Task FetchTokensByRefreshToken(string refreshToken, bool forResource); -``` - -## Parameters - -`refreshToken` string - -`forResource` bool - -## Returns - -Task\<[LogtoTokenResponse](../../LogtoTokenResponse/index.md)\> - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/Handle.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/Handle.md deleted file mode 100644 index 04d2dcd..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/Handle.md +++ /dev/null @@ -1,27 +0,0 @@ - - -# LogtoCookieContextManager.Handle Method - -**Declaring Type:** [LogtoCookieContextManager](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -[AsyncStateMachine(Logto.AspNetCore.Authentication.LogtoCookieContextManager/d__9)] -[DebuggerStepThrough] -public Task Handle(); -``` - -## Returns - -Task - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/RefreshTokens.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/RefreshTokens.md deleted file mode 100644 index db05397..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoCookieContextManager/methods/RefreshTokens.md +++ /dev/null @@ -1,31 +0,0 @@ - - -# LogtoCookieContextManager.RefreshTokens Method - -**Declaring Type:** [LogtoCookieContextManager](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -[AsyncStateMachine(Logto.AspNetCore.Authentication.LogtoCookieContextManager/d__10)] -[DebuggerStepThrough] -public Task RefreshTokens(bool forResource = false); -``` - -## Parameters - -`forResource` bool - -## Returns - -Task\ - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/fields/AuthenticationScheme.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/fields/AuthenticationScheme.md deleted file mode 100644 index e96eba8..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/fields/AuthenticationScheme.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoDefaults.AuthenticationScheme Field - -**Declaring Type:** [LogtoDefaults](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string AuthenticationScheme; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/fields/CookieScheme.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/fields/CookieScheme.md deleted file mode 100644 index 1bcb141..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/fields/CookieScheme.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoDefaults.CookieScheme Field - -**Declaring Type:** [LogtoDefaults](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string CookieScheme; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/index.md deleted file mode 100644 index ab9b73b..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoDefaults/index.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# LogtoDefaults Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class LogtoDefaults -``` - -**Inheritance:** object → LogtoDefaults - -## Fields - -| Name | Description | -| ------------------------------------------------------ | ----------- | -| [AuthenticationScheme](fields/AuthenticationScheme.md) | | -| [CookieScheme](fields/CookieScheme.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/constructors/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/constructors/index.md deleted file mode 100644 index fe443c3..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/constructors/index.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# LogtoOptions Constructors - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public LogtoOptions(); -``` -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/index.md deleted file mode 100644 index f2747ef..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/index.md +++ /dev/null @@ -1,42 +0,0 @@ - - -# LogtoOptions Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public class LogtoOptions -``` - -**Inheritance:** object → LogtoOptions - -## Constructors - -| Name | Description | -| --------------------------------------- | ----------- | -| [LogtoOptions()](constructors/index.md) | | - -## Properties - -| Name | Description | -| ---------------------------------------------------------------------------- | ----------- | -| [AppId](properties/AppId.md) | | -| [AppSecret](properties/AppSecret.md) | | -| [CallbackPath](properties/CallbackPath.md) | | -| [Endpoint](properties/Endpoint.md) | | -| [GetClaimsFromUserInfoEndpoint](properties/GetClaimsFromUserInfoEndpoint.md) | | -| [Prompt](properties/Prompt.md) | | -| [Resource](properties/Resource.md) | | -| [Scopes](properties/Scopes.md) | | -| [SignedOutCallbackPath](properties/SignedOutCallbackPath.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/AppId.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/AppId.md deleted file mode 100644 index 8f69cb7..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/AppId.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoOptions.AppId Property - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public string AppId { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/AppSecret.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/AppSecret.md deleted file mode 100644 index 974e328..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/AppSecret.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoOptions.AppSecret Property - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public string AppSecret { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/CallbackPath.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/CallbackPath.md deleted file mode 100644 index 1f48465..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/CallbackPath.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoOptions.CallbackPath Property - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public string CallbackPath { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Endpoint.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Endpoint.md deleted file mode 100644 index 6a28247..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Endpoint.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoOptions.Endpoint Property - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public string Endpoint { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/GetClaimsFromUserInfoEndpoint.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/GetClaimsFromUserInfoEndpoint.md deleted file mode 100644 index 8a70774..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/GetClaimsFromUserInfoEndpoint.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoOptions.GetClaimsFromUserInfoEndpoint Property - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public bool GetClaimsFromUserInfoEndpoint { get; set; } -``` - -## Property Value - -bool - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Prompt.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Prompt.md deleted file mode 100644 index bc7ae04..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Prompt.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoOptions.Prompt Property - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public string Prompt { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Resource.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Resource.md deleted file mode 100644 index 248b8ea..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Resource.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoOptions.Resource Property - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public string Resource { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Scopes.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Scopes.md deleted file mode 100644 index cb87d83..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/Scopes.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoOptions.Scopes Property - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public ICollection Scopes { get; set; } -``` - -## Property Value - -ICollection\ - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/SignedOutCallbackPath.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/SignedOutCallbackPath.md deleted file mode 100644 index 33d61ec..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoOptions/properties/SignedOutCallbackPath.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoOptions.SignedOutCallbackPath Property - -**Declaring Type:** [LogtoOptions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public string SignedOutCallbackPath { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Audience.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Audience.md deleted file mode 100644 index 9b4007a..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Audience.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.Audience Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Audience; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/CustomData.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/CustomData.md deleted file mode 100644 index 2e91822..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/CustomData.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.CustomData Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string CustomData; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Email.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Email.md deleted file mode 100644 index 67c0764..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Email.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.Email Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Email; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/EmailVerified.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/EmailVerified.md deleted file mode 100644 index 3a0c746..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/EmailVerified.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.EmailVerified Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string EmailVerified; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Expiration.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Expiration.md deleted file mode 100644 index 3e3ec57..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Expiration.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.Expiration Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Expiration; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Identities.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Identities.md deleted file mode 100644 index fd430a5..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Identities.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.Identities Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Identities; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/IssuedAt.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/IssuedAt.md deleted file mode 100644 index 4fa61fa..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/IssuedAt.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.IssuedAt Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string IssuedAt; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Issuer.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Issuer.md deleted file mode 100644 index 4b6b076..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Issuer.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.Issuer Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Issuer; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Name.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Name.md deleted file mode 100644 index 6abf176..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Name.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.Name Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Name; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/PhoneNumber.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/PhoneNumber.md deleted file mode 100644 index 1817cee..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/PhoneNumber.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.PhoneNumber Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string PhoneNumber; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/PhoneNumberVerified.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/PhoneNumberVerified.md deleted file mode 100644 index e8b8e7a..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/PhoneNumberVerified.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.PhoneNumberVerified Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string PhoneNumberVerified; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Picture.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Picture.md deleted file mode 100644 index c8878c1..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Picture.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.Picture Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Picture; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Subject.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Subject.md deleted file mode 100644 index 66e5783..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Subject.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.Subject Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Subject; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Username.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Username.md deleted file mode 100644 index 055b103..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/fields/Username.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Claims.Username Field - -**Declaring Type:** [LogtoParameters.Claims](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Username; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/index.md deleted file mode 100644 index ec4f4d9..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/index.md +++ /dev/null @@ -1,42 +0,0 @@ - - -# LogtoParameters.Claims Class - -**Declaring Type:** [LogtoParameters](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class LogtoParameters.Claims -``` - -**Inheritance:** object → LogtoParameters.Claims - -## Fields - -| Name | Description | -| ---------------------------------------------------- | ----------- | -| [Audience](fields/Audience.md) | | -| [CustomData](fields/CustomData.md) | | -| [Email](fields/Email.md) | | -| [EmailVerified](fields/EmailVerified.md) | | -| [Expiration](fields/Expiration.md) | | -| [Identities](fields/Identities.md) | | -| [IssuedAt](fields/IssuedAt.md) | | -| [Issuer](fields/Issuer.md) | | -| [Name](fields/Name.md) | | -| [PhoneNumber](fields/PhoneNumber.md) | | -| [PhoneNumberVerified](fields/PhoneNumberVerified.md) | | -| [Picture](fields/Picture.md) | | -| [Subject](fields/Subject.md) | | -| [Username](fields/Username.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/CustomData.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/CustomData.md deleted file mode 100644 index b298f82..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/CustomData.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Scopes.CustomData Field - -**Declaring Type:** [LogtoParameters.Scopes](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string CustomData; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Email.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Email.md deleted file mode 100644 index 0c598b9..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Email.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Scopes.Email Field - -**Declaring Type:** [LogtoParameters.Scopes](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Email; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Identities.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Identities.md deleted file mode 100644 index b255cf4..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Identities.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Scopes.Identities Field - -**Declaring Type:** [LogtoParameters.Scopes](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Identities; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Phone.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Phone.md deleted file mode 100644 index 264ce21..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/fields/Phone.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Scopes.Phone Field - -**Declaring Type:** [LogtoParameters.Scopes](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Phone; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/index.md deleted file mode 100644 index 43abc0e..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/index.md +++ /dev/null @@ -1,32 +0,0 @@ - - -# LogtoParameters.Scopes Class - -**Declaring Type:** [LogtoParameters](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class LogtoParameters.Scopes -``` - -**Inheritance:** object → LogtoParameters.Scopes - -## Fields - -| Name | Description | -| ---------------------------------- | ----------- | -| [CustomData](fields/CustomData.md) | | -| [Email](fields/Email.md) | | -| [Identities](fields/Identities.md) | | -| [Phone](fields/Phone.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/AccessToken.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/AccessToken.md deleted file mode 100644 index b178262..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/AccessToken.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Tokens.AccessToken Field - -**Declaring Type:** [LogtoParameters.Tokens](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string AccessToken; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/AccessTokenForResource.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/AccessTokenForResource.md deleted file mode 100644 index 8aa7bfe..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/AccessTokenForResource.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Tokens.AccessTokenForResource Field - -**Declaring Type:** [LogtoParameters.Tokens](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string AccessTokenForResource; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/ExpiresAt.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/ExpiresAt.md deleted file mode 100644 index 37d6280..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/ExpiresAt.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Tokens.ExpiresAt Field - -**Declaring Type:** [LogtoParameters.Tokens](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string ExpiresAt; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/ExpiresAtForResource.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/ExpiresAtForResource.md deleted file mode 100644 index 7e27ff4..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/ExpiresAtForResource.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Tokens.ExpiresAtForResource Field - -**Declaring Type:** [LogtoParameters.Tokens](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string ExpiresAtForResource; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/IdToken.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/IdToken.md deleted file mode 100644 index 395202b..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/IdToken.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Tokens.IdToken Field - -**Declaring Type:** [LogtoParameters.Tokens](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string IdToken; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/RefreshToken.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/RefreshToken.md deleted file mode 100644 index aa3f230..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/RefreshToken.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Tokens.RefreshToken Field - -**Declaring Type:** [LogtoParameters.Tokens](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string RefreshToken; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/TokenType.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/TokenType.md deleted file mode 100644 index 4f37ae1..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/fields/TokenType.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# LogtoParameters.Tokens.TokenType Field - -**Declaring Type:** [LogtoParameters.Tokens](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string TokenType; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/index.md deleted file mode 100644 index 8fabf48..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/Tokens/index.md +++ /dev/null @@ -1,35 +0,0 @@ - - -# LogtoParameters.Tokens Class - -**Declaring Type:** [LogtoParameters](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class LogtoParameters.Tokens -``` - -**Inheritance:** object → LogtoParameters.Tokens - -## Fields - -| Name | Description | -| ---------------------------------------------------------- | ----------- | -| [AccessToken](fields/AccessToken.md) | | -| [AccessTokenForResource](fields/AccessTokenForResource.md) | | -| [ExpiresAt](fields/ExpiresAt.md) | | -| [ExpiresAtForResource](fields/ExpiresAtForResource.md) | | -| [IdToken](fields/IdToken.md) | | -| [RefreshToken](fields/RefreshToken.md) | | -| [TokenType](fields/TokenType.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/index.md deleted file mode 100644 index 9cbc903..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoParameters/index.md +++ /dev/null @@ -1,30 +0,0 @@ - - -# LogtoParameters Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class LogtoParameters -``` - -**Inheritance:** object → LogtoParameters - -## Nested Types - -| Name | Description | -| ----------------------------------------- | ----------- | -| [LogtoParameters.Claims](Claims/index.md) | | -| [LogtoParameters.Scopes](Scopes/index.md) | | -| [LogtoParameters.Tokens](Tokens/index.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/constructors/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/constructors/index.md deleted file mode 100644 index 93d7fde..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/constructors/index.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# LogtoTokenResponse Constructors - -**Declaring Type:** [LogtoTokenResponse](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public LogtoTokenResponse(); -``` -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/index.md deleted file mode 100644 index 6626be9..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/index.md +++ /dev/null @@ -1,38 +0,0 @@ - - -# LogtoTokenResponse Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public class LogtoTokenResponse -``` - -**Inheritance:** object → LogtoTokenResponse - -## Constructors - -| Name | Description | -| --------------------------------------------- | ----------- | -| [LogtoTokenResponse()](constructors/index.md) | | - -## Properties - -| Name | Description | -| ------------------------------------------ | ----------- | -| [AccessToken](properties/AccessToken.md) | | -| [ExpiresIn](properties/ExpiresIn.md) | | -| [IdToken](properties/IdToken.md) | | -| [RefreshToken](properties/RefreshToken.md) | | -| [TokenType](properties/TokenType.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/AccessToken.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/AccessToken.md deleted file mode 100644 index 26cc124..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/AccessToken.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# LogtoTokenResponse.AccessToken Property - -**Declaring Type:** [LogtoTokenResponse](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -[JsonPropertyName("access_token")] -public string AccessToken { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/ExpiresIn.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/ExpiresIn.md deleted file mode 100644 index 406225a..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/ExpiresIn.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# LogtoTokenResponse.ExpiresIn Property - -**Declaring Type:** [LogtoTokenResponse](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -[JsonPropertyName("expires_in")] -public int ExpiresIn { get; set; } -``` - -## Property Value - -int - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/IdToken.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/IdToken.md deleted file mode 100644 index 172be6b..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/IdToken.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# LogtoTokenResponse.IdToken Property - -**Declaring Type:** [LogtoTokenResponse](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -[JsonPropertyName("id_token")] -public string IdToken { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/RefreshToken.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/RefreshToken.md deleted file mode 100644 index 6885ef6..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/RefreshToken.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# LogtoTokenResponse.RefreshToken Property - -**Declaring Type:** [LogtoTokenResponse](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -[JsonPropertyName("refresh_token")] -public string RefreshToken { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/TokenType.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/TokenType.md deleted file mode 100644 index fafba2c..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoTokenResponse/properties/TokenType.md +++ /dev/null @@ -1,26 +0,0 @@ - - -# LogtoTokenResponse.TokenType Property - -**Declaring Type:** [LogtoTokenResponse](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -[JsonPropertyName("token_type")] -public string TokenType { get; set; } -``` - -## Property Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/index.md deleted file mode 100644 index 8cba7f8..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/index.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# LogtoUtils Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class LogtoUtils -``` - -**Inheritance:** object → LogtoUtils - -## Methods - -| Name | Description | -| -------------------------------------------- | ----------- | -| [GetExpiresAt(int)](methods/GetExpiresAt.md) | | -| [IsExpired(string)](methods/IsExpired.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/methods/GetExpiresAt.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/methods/GetExpiresAt.md deleted file mode 100644 index e0642f5..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/methods/GetExpiresAt.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# LogtoUtils.GetExpiresAt Method - -**Declaring Type:** [LogtoUtils](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static string GetExpiresAt(int expiresIn); -``` - -## Parameters - -`expiresIn` int - -## Returns - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/methods/IsExpired.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/methods/IsExpired.md deleted file mode 100644 index 23566f0..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/LogtoUtils/methods/IsExpired.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# LogtoUtils.IsExpired Method - -**Declaring Type:** [LogtoUtils](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static bool IsExpired(string timeString); -``` - -## Parameters - -`timeString` string - -## Returns - -bool - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/fields/Consent.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/fields/Consent.md deleted file mode 100644 index 78cadf9..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/fields/Consent.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# PromptMode.Consent Field - -**Declaring Type:** [PromptMode](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Consent; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/fields/Login.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/fields/Login.md deleted file mode 100644 index 05a5a02..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/fields/Login.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# PromptMode.Login Field - -**Declaring Type:** [PromptMode](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public const string Login; -``` - -## Field Value - -string - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/index.md deleted file mode 100644 index bfeca86..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/PromptMode/index.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# PromptMode Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class PromptMode -``` - -**Inheritance:** object → PromptMode - -## Fields - -| Name | Description | -| ---------------------------- | ----------- | -| [Consent](fields/Consent.md) | | -| [Login](fields/Login.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/ServiceCollectionExtensions/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/ServiceCollectionExtensions/index.md deleted file mode 100644 index ce1a903..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/ServiceCollectionExtensions/index.md +++ /dev/null @@ -1,30 +0,0 @@ - - -# ServiceCollectionExtensions Class - -**Namespace:** [Logto.AspNetCore.Authentication](../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -```csharp -public static class ServiceCollectionExtensions -``` - -**Inheritance:** object → ServiceCollectionExtensions - -## Methods - -| Name | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | -| [AddLogtoAuthentication(IServiceCollection, Action\)](methods/AddLogtoAuthentication.md#addlogtoauthenticationiservicecollection-actionlogtooptions) | | -| [AddLogtoAuthentication(IServiceCollection, string, Action\)](methods/AddLogtoAuthentication.md#addlogtoauthenticationiservicecollection-string-actionlogtooptions) | | -| [AddLogtoAuthentication(IServiceCollection, string, string, Action\)](methods/AddLogtoAuthentication.md#addlogtoauthenticationiservicecollection-string-string-actionlogtooptions) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/ServiceCollectionExtensions/methods/AddLogtoAuthentication.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/ServiceCollectionExtensions/methods/AddLogtoAuthentication.md deleted file mode 100644 index 0b84aac..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/ServiceCollectionExtensions/methods/AddLogtoAuthentication.md +++ /dev/null @@ -1,79 +0,0 @@ - - -# ServiceCollectionExtensions.AddLogtoAuthentication Method - -**Declaring Type:** [ServiceCollectionExtensions](../index.md) -**Namespace:** [Logto.AspNetCore.Authentication](../../index.md) -**Assembly:** Logto.AspNetCore.Authentication -**Assembly Version:** 0.1.0\-alpha.0 - -## Overloads - -| Signature | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | -| [AddLogtoAuthentication(IServiceCollection, Action\)](#addlogtoauthenticationiservicecollection-actionlogtooptions) | | -| [AddLogtoAuthentication(IServiceCollection, string, Action\)](#addlogtoauthenticationiservicecollection-string-actionlogtooptions) | | -| [AddLogtoAuthentication(IServiceCollection, string, string, Action\)](#addlogtoauthenticationiservicecollection-string-string-actionlogtooptions) | | - -## AddLogtoAuthentication(IServiceCollection, Action\) - -```csharp -public static IServiceCollection AddLogtoAuthentication(this IServiceCollection services, Action configureOptions); -``` - -### Parameters - -`services` IServiceCollection - -`configureOptions` Action\<[LogtoOptions](../../LogtoOptions/index.md)\> - -### Returns - -IServiceCollection - -## AddLogtoAuthentication(IServiceCollection, string, Action\) - -```csharp -public static IServiceCollection AddLogtoAuthentication(this IServiceCollection services, string authenticationScheme, Action configureOptions); -``` - -### Parameters - -`services` IServiceCollection - -`authenticationScheme` string - -`configureOptions` Action\<[LogtoOptions](../../LogtoOptions/index.md)\> - -### Returns - -IServiceCollection - -## AddLogtoAuthentication(IServiceCollection, string, string, Action\) - -```csharp -public static IServiceCollection AddLogtoAuthentication(this IServiceCollection services, string authenticationScheme, string cookieScheme, Action configureOptions); -``` - -### Parameters - -`services` IServiceCollection - -`authenticationScheme` string - -`cookieScheme` string - -`configureOptions` Action\<[LogtoOptions](../../LogtoOptions/index.md)\> - -### Returns - -IServiceCollection - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/index.md deleted file mode 100644 index 6e5e8a0..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/Authentication/index.md +++ /dev/null @@ -1,32 +0,0 @@ - - -# Logto.AspNetCore.Authentication Namespace - -**Namespace:** [Logto.AspNetCore](../index.md) - -## Classes - -| Name | Description | -| --------------------------------------------------------------------------- | ----------- | -| [AuthenticationBuilderExtensions](AuthenticationBuilderExtensions/index.md) | | -| [HttpContextExtensions](HttpContextExtensions/index.md) | | -| [LogtoCookieContextManager](LogtoCookieContextManager/index.md) | | -| [LogtoDefaults](LogtoDefaults/index.md) | | -| [LogtoOptions](LogtoOptions/index.md) | | -| [LogtoParameters](LogtoParameters/index.md) | | -| [LogtoParameters.Claims](LogtoParameters/Claims/index.md) | | -| [LogtoParameters.Scopes](LogtoParameters/Scopes/index.md) | | -| [LogtoParameters.Tokens](LogtoParameters/Tokens/index.md) | | -| [LogtoTokenResponse](LogtoTokenResponse/index.md) | | -| [LogtoUtils](LogtoUtils/index.md) | | -| [PromptMode](PromptMode/index.md) | | -| [ServiceCollectionExtensions](ServiceCollectionExtensions/index.md) | | - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/index.md deleted file mode 100644 index 2cba0cf..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/AspNetCore/index.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# Logto.AspNetCore Namespace - -**Namespace:** [Logto](../index.md) - -## Namespaces - -- [Logto.AspNetCore.Authentication](Authentication/index.md) - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/api/Logto/index.md b/src/Logto.AspNetCore.Authentication/docs/api/Logto/index.md deleted file mode 100644 index 02caee4..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/api/Logto/index.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# Logto Namespace - -## Namespaces - -- [Logto.AspNetCore](AspNetCore/index.md) - -___ - -*Documentation generated by [MdDocs](https://github.com/ap0llo/mddocs)* diff --git a/src/Logto.AspNetCore.Authentication/docs/tutorial.md b/src/Logto.AspNetCore.Authentication/docs/tutorial.md deleted file mode 100644 index 55a8cc2..0000000 --- a/src/Logto.AspNetCore.Authentication/docs/tutorial.md +++ /dev/null @@ -1,342 +0,0 @@ -# Logto ASP.NET Core authentication tutorial - -This tutorial will show you how to use Logto ASP.NET Core authentication middleware to protect your web application. - -## Table of contents - -- [Logto ASP.NET Core authentication tutorial](#logto-aspnet-core-authentication-tutorial) - - [Table of contents](#table-of-contents) - - [Integration](#integration) - - [Add Logto authentication middleware](#add-logto-authentication-middleware) - - [Sign-in](#sign-in) - - [Sign-out](#sign-out) - - [Implement sign-in/sign-out buttons (Razor Pages)](#implement-sign-insign-out-buttons-razor-pages) - - [Implement sign-in/sign-out buttons (MVC)](#implement-sign-insign-out-buttons-mvc) - - [Checkpoint: Run the web application](#checkpoint-run-the-web-application) - - [The user object](#the-user-object) - - [Some claims are missing](#some-claims-are-missing) - - [Scopes and claims](#scopes-and-claims) - - [Special ID token claims](#special-id-token-claims) - - [API resources](#api-resources) - - [Configure Logto client](#configure-logto-client) - - [Fetch tokens](#fetch-tokens) - -## Integration - -### Add Logto authentication middleware - -Open `Startup.cs` (or `Program.cs`) and add the following code to register Logto authentication middleware: - -```csharp -using Logto.AspNetCore.Authentication; - -var builder = WebApplication.CreateBuilder(args); - -builder.Services.AddLogtoAuthentication(options => -{ - options.Endpoint = builder.Configuration["Logto:Endpoint"]!; - options.AppId = builder.Configuration["Logto:AppId"]!; - options.AppSecret = builder.Configuration["Logto:AppSecret"]; -}); - -app.UseAuthentication(); -``` - -The `AddLogtoAuthentication` method will do the following things: - -- Set the default authentication scheme to `LogtoDefaults.CookieScheme`. -- Set the default challenge scheme to `LogtoDefaults.AuthenticationScheme`. -- Set the default sign-out scheme to `LogtoDefaults.AuthenticationScheme`. -- Add cookie and OpenID Connect authentication handlers to the authentication scheme. - -### Sign-in - -Add the following URI to the `Redirect URIs` list in the Logto application details page: - -``` -http:///Callback -``` - -To sign-in with Logto, you can use the `ChallengeAsync` method: - -```csharp -await HttpContext.ChallengeAsync(new AuthenticationProperties -{ - RedirectUri = "/" -}); -``` - -The `ChallengeAsync` method will redirect the user to the Logto sign-in page. - -The `RedirectUri` property is used to redirect the user back to your web application after authentication. Note it is different from the redirect URI you configured in the Logto application details page: - -1. The redirect URI in the Logto application details page is the URI that Logto will redirect the user back to after the user has signed in. -2. The `RedirectUri` property is the URI that will be redirected to after necessary actions have been taken in the Logto authentication middleware. - -The order of the actions is 1 -> 2. For clarity, let's call the redirect URI in the Logto application details page the **Logto redirect URI** and the `RedirectUri` property the **application redirect URI**. - -The **Logto redirect URI** has a default value of `/Callback`, which you can leave it as is if there's no special requirement. If you want to change it, you can set the `CallbackPath` property for `LogtoOptions`: - -```csharp -builder.Services.AddLogtoAuthentication(options => -{ - options.CallbackPath = "/SomeOtherCallbackPath"; -}); -``` - -Remember to update the value in the Logto application details page accordingly. - -> **Note** -> No need to set the **application redirect URI** in the Logto application details page. - -### Sign-out - -Add the following URI to the `Post sign-out redirect URIs` list in the Logto application details page: - -``` -http:///SignedOutCallback -``` - -To sign-out with Logto, you can use the `SignOutAsync` method: - -```csharp -await HttpContext.SignOutAsync(new AuthenticationProperties -{ - RedirectUri = "/" -}); -``` - -The `SignOutAsync` method will clear the authentication cookie and redirect the user to the Logto sign-out page. - -The `RedirectUri` property is used to redirect the user back to your web application after sign-out. Note it is different from the post sign-out redirect URI you configured in the Logto application details page: - -1. The post sign-out redirect URI in the Logto application details page is the URI that Logto will redirect the user back to after the user has signed out. -2. The `RedirectUri` property is the URI that will be redirected to after necessary actions have been taken in the Logto authentication middleware. - -The order of the actions is 1 -> 2. For clarity, let's call the post sign-out redirect URI in the Logto application details page the **Logto post sign-out redirect URI** and the `RedirectUri` property the **application post sign-out redirect URI**. - -The **Logto post sign-out redirect URI** has a default value of `/SignedOutCallback`, which you can leave it as is if there's no special requirement. If you want to change it, you can set the `SignedOutCallbackPath` property for `LogtoOptions`: - -```csharp -builder.Services.AddLogtoAuthentication(options => -{ - options.SignedOutCallbackPath = "/SomeOtherSignedOutCallbackPath"; -}); -``` - -Remember to update the value in the Logto application details page accordingly. - -> **Note** -> No need to set the **application post sign-out redirect URI** in the Logto application details page. - -### Implement sign-in/sign-out buttons (Razor Pages) - -First, add the handler methods to your `PageModel`, for example: - -```csharp -public class IndexModel : PageModel -{ - public async Task OnPostSignInAsync() - { - await HttpContext.ChallengeAsync(new AuthenticationProperties - { - RedirectUri = "/" - }); - } - - public async Task OnPostSignOutAsync() - { - await HttpContext.SignOutAsync(new AuthenticationProperties - { - RedirectUri = "/" - }); - } -} -``` - -Then, add the buttons to your Razor page: - -```html -

Is authenticated: @User.Identity?.IsAuthenticated

-
- @if (User.Identity?.IsAuthenticated == true) - { - - } else { - - } -
-``` - -It will show the "Sign in" button if the user is not authenticated, and show the "Sign out" button if the user is authenticated. - -### Implement sign-in/sign-out buttons (MVC) - -First, add actions methods to your `Controller`, for example: - -```csharp -public class HomeController : Controller -{ - public IActionResult SignIn() - { - return Challenge(new AuthenticationProperties { RedirectUri = "/" }); - } - - // Use the `new` keyword to avoid conflict with the `ControllerBase.SignOut` method - new public IActionResult SignOut() - { - return SignOut(new AuthenticationProperties { RedirectUri = "/" }); - } -} -``` - -Then, add the links to your View: - -```html -

Is authenticated: @User.Identity?.IsAuthenticated

-@if (User.Identity?.IsAuthenticated == true) -{ - Sign out -} else { - Sign in -} -``` - -It will show the "Sign in" link if the user is not authenticated, and show the "Sign out" link if the user is authenticated. - -### Checkpoint: Run the web application - -Now you can run the web application and try to sign-in/sign-out with Logto: - -1. Open the web application in your browser, you should see "Is authenticated: False" and the "Sign in" button (link). -2. Click the "Sign in" button (link), and you should be redirected to the Logto sign-in page. -3. After you have signed in, you should be redirected back to the web application, and you should see "Is authenticated: True" and the "Sign out" button (link). -4. Click the "Sign out" button (link), and you should be redirected to the Logto sign-out page, and then redirected back to the web application. - -## The user object - -To know if the user is authenticated, you can check the `User.Identity?.IsAuthenticated` property. - -To get the user profile claims, you can use the `User.Claims` property: - -```csharp -var claims = User.Claims; - -// Get the user ID -var userId = claims.FirstOrDefault(c => c.Type == LogtoParameters.Claims.Subject)?.Value; -``` - -See [`LogtoParameters.Claims`](./api/Logto/AspNetCore/Authentication/LogtoParameters/Claims/index.md) for the list of claim names and their meanings. - -### Some claims are missing - -Please see [Scopes and claims](#scopes-and-claims) for more details. - -## Scopes and claims - -Both of "scope" and "claim" are terms from the OAuth 2.0 and OpenID Connect (OIDC) specifications. In OIDC, there are some optional [scopes and claims conventions](https://openid.net/specs/openid-connect-core-1_0.html#Claims) to follow. Logto uses these conventions to define the scopes and claims for the ID token. - -In short, when you request a scope, you will get the corresponding claims in the ID token. For example, if you request the `email` scope, you will get the `email` and `email_verified` claims in the ID token. - -By default, Logto SDK requests three scopes: `openid`, `profile`, and `offline_access`. You can add more scopes when configuring the authentication middleware: - -```csharp -builder.Services.AddLogtoAuthentication(options => -{ - // ... - options.Scopes = new string[] { - LogtoParameters.Scopes.Email, - LogtoParameters.Scopes.Phone - } -}); -``` - -> **Note** -> For now, there's no way to remove the default scopes without mutating the `scopes` list. - -See [`LogtoParameters.Scopes`](./api/Logto/AspNetCore/Authentication/LogtoParameters/Scopes/index.md) for a list of supported scopes and its mapped claims. - -### Special ID token claims - -Considering performance and the data size, Logto doesn't include all the claims in the ID token, such as `custom_data` which could be a large JSON object. To fetch these claims, you need to set the `GetClaimsFromUserInfoEndpoint` property to `true`: - -```csharp -builder.Services.AddLogtoAuthentication(options => -{ - // ... - options.GetClaimsFromUserInfoEndpoint = true; -}); -``` - -Currently, the following claims are not included in the ID token: - -- `LogtoParameters.Claims.CustomData` (use `LogtoParameters.Scopes.CustomData` to fetch) -- `LogtoParameters.Claims.Identities` (use `LogtoParameters.Scopes.Identities` to fetch) - -## API resources - -We recommend to read [🔐 Role-Based Access Control (RBAC)](https://docs.logto.io/docs/recipes/rbac/) first to understand the basic concepts of Logto RBAC and how to set up API resources properly. - -### Configure Logto client - -Once you have set up the API resource, you can add it when configuring the authentication middleware: - -```csharp -builder.Services.AddLogtoAuthentication(options => -{ - // ... - options.Resource = "https://"; -}); -``` - -> **Note** -> The middleware only accepts one API resource due to the limitation of the underlying OpenID Connect authentication handler. - -Each API resource has its own permissions (scopes). For example, you can define the `https://shopping.your-app.com/api` resource to have the `read` and `write` permissions, while the `https://payment.your-app.com/api` resource to have the `pay` permission. - -To request these permissions, you can add them when configuring the authentication middleware: - -```csharp -builder.Services.AddLogtoAuthentication(options => -{ - // ... - options.Resource = "https://shopping.your-app.com/api"; - options.Scopes = new string[] { - "openid", - "profile", - "offline_access", - "read", - "write" - }; -}); -``` - -You may notice that scopes are defined separately from API resources. This is because [Resource Indicators for OAuth 2.0](https://www.rfc-editor.org/rfc/rfc8707.html) specifies the final scopes for the request will be the cartesian product of all the scopes at all the targets. - -> **Note** -> It is fine to request scopes that are not defined in the API resources. For example, you can request the `email` scope even if the API resources don't have the `email` scope available. Unavailable scopes will be safely ignored. - -After the successful sign-in, Logto will issue proper scopes to the API resource according to the user's roles. - -## Fetch tokens - -Sometimes you may need to fetch the access token or ID token for API calls. You can use the `GetTokenAsync` method to fetch the tokens: - -```csharp -var accessToken = await HttpContext.GetTokenAsync(LogtoParameters.Tokens.AccessToken); -var idToken = await HttpContext.GetTokenAsync(LogtoParameters.Tokens.IdToken); -``` - -No need to worry about the token expiration, the authentication middleware will automatically refresh the tokens when necessary. - -> **Caution** -> Although the authentication middleware will automatically refresh the tokens, the claims in the user object will not be updated due to the limitation of the underlying OpenID Connect authentication handler. -> This can be resolved once we write our own authentication handler. - -Note the access token above is an opaque token for the userinfo endpoint in OpenID Connect, which is not a JWT token. If you have specified the API resource, you need to use `LogtoParameters.Tokens.AccessTokenForResource` to fetch the access token for the API resource: - -```csharp -var accessToken = await HttpContext.GetTokenAsync(LogtoParameters.Tokens.AccessTokenForResource); -``` - -This token will be a JWT token with the API resource as the audience.