Skip to content

Commit

Permalink
fix: type of "scope" in AuthenticateOptions is now string
Browse files Browse the repository at this point in the history
  • Loading branch information
robey authored Sep 22, 2024
1 parent cae0141 commit 57d9155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ declare namespace OAuth2Server {
/**
* The scope(s) to authenticate.
*/
scope?: string[] | undefined;
scope?: string | undefined;

/**
* Set the X-Accepted-OAuth-Scopes HTTP header on response objects.
Expand Down

0 comments on commit 57d9155

Please sign in to comment.