UNPKG

@glamtime/oauth-oidc-client

Version:

Secure your Angular app using the latest standards for OpenID Connect & OAuth2. Provides support for token refresh, all modern OIDC Identity Providers and more.

21 lines (20 loc) 576 B
import { InjectionToken } from '@angular/core'; export interface OAuthOptions { issuer?: string; clientId?: string; clientSecret?: string; redirectUri?: string; postLogoutRedirectUri?: string; scopes?: string[]; resourceServers?: string[]; } export declare class OAuthConfig implements OAuthOptions { issuer: string; clientId: string; clientSecret: string; redirectUri: string; postLogoutRedirectUri: string; scopes: string[]; resourceServers: string[]; } export declare const OAUTH_CONFIG: InjectionToken<OAuthConfig>;