adds aspnet.identity
This commit is contained in:
parent
a2f26f1e8e
commit
dc37c9a9f0
26 changed files with 1106 additions and 122 deletions
|
|
@ -17,6 +17,7 @@ namespace nuget_host
|
|||
public static IEnumerable<ApiResource> ApiResources =>
|
||||
new List<ApiResource>
|
||||
{
|
||||
new ApiResource(IdentityServerConstants.LocalApi.ScopeName),
|
||||
new ApiResource(scope_packages)
|
||||
};
|
||||
|
||||
|
|
@ -33,7 +34,8 @@ namespace nuget_host
|
|||
|
||||
AllowedGrantTypes = GrantTypes.ClientCredentials,
|
||||
// scopes that client has access to
|
||||
AllowedScopes = { scope_packages }
|
||||
AllowedScopes = { scope_packages,
|
||||
IdentityServerConstants.LocalApi.ScopeName }
|
||||
},
|
||||
|
||||
// interactive ASP.NET Core MVC client
|
||||
|
|
@ -54,6 +56,7 @@ namespace nuget_host
|
|||
{
|
||||
IdentityServerConstants.StandardScopes.OpenId,
|
||||
IdentityServerConstants.StandardScopes.Profile,
|
||||
IdentityServerConstants.LocalApi.ScopeName,
|
||||
scope_packages
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue