services.AddAuthentication(options => /* Auth configuration */)
.AddLichess(options =>
{
options.ClientId = "my-client-id";
options.ClientSecret = "my-client-secret";
options.Scope.Clear();
options.Scope.Add(LichessAuthenticationConstants.Scopes.EmailRead);
});
None.
Property Name | Property Type | Description | Default Value |
---|---|---|---|
Scope |
ICollection<string> |
The scope(s) you want to use on Lichess, see documentation. | |
UserEmailsEndpoint |
string |
The address of the endpoint exposing the email addresses associated with the logged in user. | LichessAuthenticationDefaults.UserEmailsEndpoint |