WRDAuthLoginSettings | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias WRDAuthLoginSettings

    type WRDAuthLoginSettings = {
        apiTokenDuration?: number;
        expireLogin: number;
        expirePersistentLogin: number;
        expireThirdPartyLogin: number;
        openIdServer?: boolean;
        roundLongLoginsTo: number;
        roundLongLoginsTZ: string;
        roundMinDuration: number;
    }
    Index

    Properties

    apiTokenDuration?: number

    Duration of access tokens handed out over OAuth2 (milliseconds). If not set, falls back to defaultAccessTokenExpiry (7 days)

    expireLogin: number

    Expire normal login after this time (milliseconds)

    expirePersistentLogin: number

    Expire persistent login after this time (milliseconds)

    expireThirdPartyLogin: number

    Expire third party login after this time (milliseconds)

    openIdServer?: boolean

    Act as an OpenID Connect provider (offer openid-configuration metadata, ID tokens and userinfo). Plain OAuth2 doesn't require this

    roundLongLoginsTo: number

    Round long logins to this time of the day (milliseconds)

    roundLongLoginsTZ: string

    Round long logins in this timezone

    roundMinDuration: number

    Minimum duration of sessions when rounding (milliseconds)