Skip to content

Commit da8d0f3

Browse files
Merge pull request #251 from warreee/patch-1
Updated the example in readme to the correct return type
2 parents 704d5e3 + b9a3225 commit da8d0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CustomAuthenticationProvider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class MyAuthenticationProvider implements AuthenticationProvider {
1818
* This should return a Promise that resolves to an accessToken (in case of success) or rejects with error (in case of failure)
1919
* Basically this method will contain the implementation for getting and refreshing accessTokens
2020
*/
21-
public async getAccessToken(): Promise<any> {}
21+
public async getAccessToken(): Promise<string> {}
2222
}
2323
```
2424

0 commit comments

Comments
 (0)