concurrent flow test

This commit is contained in:
Kagami Sascha Rosylight
2023-04-10 20:29:11 +02:00
parent a688bd1061
commit 027c5734a4
3 changed files with 85 additions and 33 deletions

View File

@@ -76,33 +76,6 @@ function validateClientId(raw: string): URL {
return url;
}
// const grantable = new Set([
// 'AccessToken',
// 'AuthorizationCode',
// 'RefreshToken',
// 'DeviceCode',
// 'BackchannelAuthenticationRequest',
// ]);
// const consumable = new Set([
// 'AuthorizationCode',
// 'RefreshToken',
// 'DeviceCode',
// 'BackchannelAuthenticationRequest',
// ]);
// function grantKeyFor(id: string): string {
// return `grant:${id}`;
// }
// function userCodeKeyFor(userCode: string): string {
// return `userCode:${userCode}`;
// }
// function uidKeyFor(uid: string): string {
// return `uid:${uid}`;
// }
interface ClientInformation {
id: string;
redirectUris: string[];