Refactoring
The main server owns the migrations, it's the server part, it's simpler. It's Yavsc, not one of its lib.
This commit is contained in:
@ -23,8 +23,15 @@ public class ClientStore : IClientStore
|
||||
ClientId = clientFromDb.Id,
|
||||
ClientName = clientFromDb.DisplayName,
|
||||
ClientSecrets = { new Secret(clientFromDb.Secret.Sha256()) },
|
||||
AllowedGrantTypes =[ GrantType.ClientCredentials, GrantType.DeviceFlow],
|
||||
AllowedScopes = ["openid", "profile", "scope1"]
|
||||
AllowedGrantTypes =
|
||||
[
|
||||
GrantType.AuthorizationCode,
|
||||
GrantType.DeviceFlow,
|
||||
GrantType.ClientCredentials
|
||||
],
|
||||
AllowedScopes = ["openid", "profile", "scope1"],
|
||||
AbsoluteRefreshTokenLifetime = clientFromDb.RefreshTokenLifeTime,
|
||||
AccessTokenLifetime = clientFromDb.AccessTokenLifetime
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user