This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ability to specify a permission scope to SkyAuthHttp (#245)
- Loading branch information
1 parent
b647924
commit eb1f438
Showing
4 changed files
with
73 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { BBAuth } from '@blackbaud/auth-client'; | ||
import { BBAuth, BBAuthGetTokenArgs } from '@blackbaud/auth-client'; | ||
|
||
export class SkyAuthTokenProvider { | ||
|
||
public getToken(): Promise<string> { | ||
return BBAuth.getToken(); | ||
public getToken(args?: BBAuthGetTokenArgs): Promise<string> { | ||
return BBAuth.getToken(args); | ||
} | ||
|
||
} |