UNPKG

angular-simple-oidc

Version:

Angular Library implementing Open Id Connect specification. Code Flow, Refresh Tokens, Session Management, Discovery Document.

58 lines (57 loc) 2.35 kB
import { SimpleOidcError } from './errors'; export declare abstract class TokenValidationError extends SimpleOidcError { } export declare class IdentityTokenMalformedError extends TokenValidationError { constructor(context: any); } export declare class JWTKeysMissingError extends TokenValidationError { constructor(context: any); } export declare class JWTKeysInvalidError extends TokenValidationError { constructor(context: any); } export declare class InvalidSignatureError extends TokenValidationError { constructor(context: any); } export declare class SignatureAlgorithmNotSupportedError extends TokenValidationError { constructor(context: any); } export declare class ClaimRequiredError extends TokenValidationError { constructor(claim: string, context: any); } export declare class ClaimTypeInvalidError extends TokenValidationError { constructor(claim: string, expectedType: string, actualType: string, context: any); } export declare class DateClaimInvalidError extends TokenValidationError { constructor(claim: string, context: any); } export declare class IssuedAtValidationFailedError extends TokenValidationError { constructor(offset: number, context: any); } export declare class IssuerValidationFailedError extends TokenValidationError { constructor(identityTokenIssuer: string, discoveryIssuer: string, context: any); } export declare class AudienceValidationFailedError extends TokenValidationError { constructor(identityTokenAud: string, clientId: string, context: any); } export declare class TokenExpiredError extends TokenValidationError { constructor(expiration: Date, context: any); } export declare class AccessTokenHashValidationFailedError extends TokenValidationError { constructor(context: any); } export declare class InvalidStateError extends SimpleOidcError { constructor(context: any); } export declare class InvalidNonceError extends TokenValidationError { constructor(context: any); } export declare class AuthorizationCallbackFormatError extends SimpleOidcError { constructor(context: any); } export declare class AuthorizationCallbackMissingParameterError extends SimpleOidcError { constructor(param: string, context: any); } export declare class AuthorizationCallbackError extends SimpleOidcError { constructor(error: string, context: any); }