Options
All
  • Public
  • Public/Protected
  • All
Menu

Creates a Provider from the oidc-provider library. This can be used for handling many of the oidc interactions during the IDP process. Full documentation can be found at https://github.com/panva/node-oidc-provider/blob/v6.x/docs/README.md

Hierarchy

  • IdentityProviderFactory

Index

Constructors

constructor

Properties

Private Readonly configurationFactory

configurationFactory: ConfigurationFactory

Private Readonly errorResponseWriter

errorResponseWriter: ResponseWriter

Private Readonly issuer

issuer: string

Methods

createProvider

  • createProvider(interactionPolicyOptions: { policy?: Prompt[]; url?: (ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>) => CanBePromise<string> }): Promise<Provider>
  • Parameters

    • interactionPolicyOptions: { policy?: Prompt[]; url?: (ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>) => CanBePromise<string> }
      • Optional policy?: Prompt[]
      • Optional url?: (ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>) => CanBePromise<string>
          • (ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>): CanBePromise<string>
          • Parameters

            • ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>

            Returns CanBePromise<string>

    Returns Promise<Provider>