Skip to content

Commit 6d08602

Browse files
committed
improced docs
1 parent 26467b7 commit 6d08602

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

projects/lib/src/oauth-service.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,15 @@ export class OAuthService extends AuthConfig {
330330
}
331331

332332
/**
333+
* DEPRECATED. Use a provider for OAuthStorage instead:
334+
*
335+
* { provide: OAuthStorage, useValue: localStorage }
336+
*
333337
* Sets a custom storage used to store the received
334338
* tokens on client side. By default, the browser's
335339
* sessionStorage is used.
336-
*
340+
* @ignore
341+
*
337342
* @param storage
338343
*/
339344
public setStorage(storage: OAuthStorage): void {

0 commit comments

Comments
 (0)