UNPKG

ngx-gem-spaas

Version:

This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.

30 lines (29 loc) 1.04 kB
/** * Okta configuration object to be provided via "forRoot" method of the SpaasModule. * * @property {string[]} additionalScopes the scopes needed for your particular back-end * @property {string} clientId the client id of your SPA * @property {string[]} interceptUrls the urls to intercept and add an Authorization - Bearer header to * @property {string} tenantId the tenant id of your Okta issuer * @property {string} url the url of your Okta issuer * @property {boolean} withPath false for subdomains, true for context (optional, default is true) */ export declare class OktaConfigModel { additionalScopes: string[]; clientId: string; interceptUrls: string[]; tenantId: string; url: string; withPath?: boolean; constructor(objIn: any); } export declare class OktaUserModel { email: string; firstName: string; lastName: string; groups: string[]; userId: string; constructor(props: any); static stripMail(strIn: string): string; checkGroup(group: string): boolean; }