Skip to content

Commit c4e43a8

Browse files
author
warreee
authored
Updated the example to the correct return type
1 parent c3e0ef3 commit c4e43a8

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)