UNPKG

signicat-client-ts

Version:

Community TypeScript client for Signicat Authentication REST API with automatic token management

28 lines (27 loc) 807 B
/** * Supported authentication providers for Signicat */ export declare enum AuthenticationProvider { FTN = "ftn", NBID = "nbid", MOJEID_PL = "mojeid-pl", BEID = "beid", AUSWEISAPP = "npa", SK_MOBILEID = "sk-mobileid", ET_SMARTCARD = "et-smartcard", EPARAKSTS_MOBILE = "eparaksts-mobile", IDIN = "idin", MITID = "mitid", SAMLEIKIN = "samleikin", SPID = "spid", ITSME = "itsme", AUDKENNI_MOBILEID = "audkenni-mobileid" } /** * Type alias for authentication provider values */ export type AuthenticationProviderValue = `${AuthenticationProvider}`; /** * Helper function to validate if a string is a valid authentication provider */ export declare const isValidAuthenticationProvider: (provider: string) => provider is AuthenticationProviderValue;