LogtoClientBuilder
Classstaticnet10.0
Provides methods to configure and add Logto client services to an application builder.
namespace Microsoft.Extensions.Hosting;
public static class LogtoClientBuilder{ // ...}Methods3
Section titled MethodsAddLogtoJwtBearer(AuthenticationBuilder, string, string, string, string?, Action<JwtBearerOptions>) extensionAuthenticationBuilder Configures and adds the Logto JSON Web Token (JWT) Bearer authentication to the specified authentication builder.
AuthenticationBuilder Configures and adds the Logto JSON Web Token (JWT) Bearer authentication for the specified application.
IServiceCollection Configures and adds the Logto OpenID Connect (OIDC) authentication for the specified application's service collection.