v1.1.0
Allows to register Permissions with the familiar IOptions pattern.
...
.AddUIApis<ApplicationUser>(options =>
{
// Tell the system about the allowed Permissions it is built/configured for.
options.Permissions = new List<string>
{
Permissions.Endpoints.Authorization,
Permissions.Endpoints.Logout,
Permissions.Endpoints.Token,
Permissions.GrantTypes.AuthorizationCode,
Permissions.GrantTypes.Password,
Permissions.GrantTypes.RefreshToken,
Permissions.ResponseTypes.Code,
Permissions.Scopes.Email,
Permissions.Scopes.Profile,
Permissions.Scopes.Roles,
Permissions.Prefixes.Scope + "demo_api"
}
});