We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7e5462 commit 4270e9eCopy full SHA for 4270e9e
projects/angular-token/src/lib/angular-token.service.ts
@@ -46,6 +46,14 @@ export class AngularTokenService implements CanActivate {
46
return this.options.apiBase;
47
}
48
49
+ get tokenOptions(): AngularTokenOptions {
50
+ return this.options
51
+ }
52
+
53
+ set tokenOptions(options) {
54
+ this.options = (<any>Object).assign(this.options, options);
55
56
57
private options: AngularTokenOptions;
58
private userType: UserType;
59
private authData: AuthData;
0 commit comments