Options
All
  • Public
  • Public/Protected
  • All
Menu

Interaction policy that maps URLs to ${idpPath}/interaction/${context uid}. Uses the select_account interaction policy.

Hierarchy

  • AccountInteractionPolicy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly policy

policy: Prompt[]

Readonly url

url: (ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>) => string

Type declaration

    • (ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>): string
    • Parameters

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

      Returns string

Methods

Private createUrlFunction

  • createUrlFunction(idpPath: string): (ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>) => string
  • Helper function to create the function that will be put in url. Needs to be done like this since the this reference is lost when passing this value along.

    Parameters

    • idpPath: string

    Returns (ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>) => string

      • (ctx: ParameterizedContext<DefaultState, DefaultContext & { oidc: OIDCContext }, unknown>): string
      • Parameters

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

        Returns string