mirror of https://github.com/dotnet/tye.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
715 B
26 lines
715 B
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
|
|
|
|
|
|
using IdentityServer4.Models;
|
|
using System.Collections.Generic;
|
|
|
|
namespace IdentityServer
|
|
{
|
|
public static class Config
|
|
{
|
|
public static IEnumerable<IdentityResource> IdentityResources =>
|
|
new IdentityResource[]
|
|
{
|
|
new IdentityResources.OpenId(),
|
|
new IdentityResources.Profile(),
|
|
};
|
|
|
|
public static IEnumerable<ApiScope> ApiScopes =>
|
|
new ApiScope[]
|
|
{
|
|
new ApiScope("scope"),
|
|
};
|
|
|
|
}
|
|
}
|