services.AddAuthentication(options => /* Auth configuration */)
.AddKloudless(options =>
{
options.ClientId = "my-client-id";
options.ClientSecret = "my-client-secret";
options.Scope.Clear();
options.Scope.Add(KloudlessAuthenticationConstants.Scopes.Calendar);
});
None.
Property Name | Property Type | Description | Default Value |
---|---|---|---|
Scope |
ICollection<string> |
The scope(s) you want to use on Kloudless, see documentation. | KloudlessAuthenticationConstants.Scopes.Any |