Skip to content

Commit

Permalink
fix(typescript): claims/scopes as Set in rejected/prompted functions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Cohen authored May 15, 2020
1 parent ad6b1d3 commit 950c21d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@ declare class Session extends BaseModel {
acceptedScopesFor(clientId: string): Set<string>;
acceptedClaimsFor(clientId: string): Set<string>;
promptedScopesFor(clientId: string): Set<string>;
promptedScopesFor(clientId: string, scopes: string[]): void;
promptedScopesFor(clientId: string, scopes: string[] | Set<string>): void;
promptedClaimsFor(clientId: string): Set<string>;
promptedClaimsFor(clientId: string, claims: string[]): void;
promptedClaimsFor(clientId: string, claims: string[] | Set<string>): void;
rejectedScopesFor(clientId: string): Set<string>;
rejectedScopesFor(clientId: string, scopes: string[], replace?: boolean): void;
rejectedScopesFor(clientId: string, scopes: string[] | Set<string>, replace?: boolean): void;
rejectedClaimsFor(clientId: string): Set<string>;
rejectedClaimsFor(clientId: string, claims: string[], replace?: boolean): void;
rejectedClaimsFor(clientId: string, claims: string[] | Set<string>, replace?: boolean): void;

save(ttl?: number): Promise<string>;
destroy(): Promise<void>;
Expand Down

0 comments on commit 950c21d

Please sign in to comment.