libs/ngx-pfe/ngx-http-token/http-token.model.ts
true
Properties |
|
applicationId |
applicationId:
|
Type : string
|
Optional |
endpoint |
endpoint:
|
Type : string
|
Optional |
tenant |
tenant:
|
Type : string
|
Optional |
whitelistedDomains |
whitelistedDomains:
|
Type : string[]
|
import { InjectionToken, Provider } from '@angular/core';
export const HTTP_TOKEN_CONFIGURATION: InjectionToken<HttpTokenConfig> = new InjectionToken<HttpTokenConfig>('HTTP_TOKEN_CONFIGURATION');
/**
* @deprecated true
* @deprecationMessage Use storeValue instead
*/
export interface HttpTokenModuleConfig {
httpTokenServiceProvider?: Provider;
httpTokenConfigProvider: Provider;
}
/**
* @deprecated true
* @deprecationMessage Use storeValue instead
*/
export interface HttpTokenConfig {
whitelistedDomains: string[];
endpoint?: string;
tenant?: string;
applicationId?: string;
}
/**
* @deprecated true
* @deprecationMessage Use storeValue instead
*/
export interface GetTokenResponse {
token: string;
}