From b053dc8df44cb315d7a3174c2355d7a70cf3d93d Mon Sep 17 00:00:00 2001 From: Adam Mcgrath Date: Fri, 11 Nov 2022 18:02:15 +0000 Subject: [PATCH] Release v2.10.0 (#417) --- CHANGELOG.md | 6 +++ docs/functions/attemptSilentLogin.html | 2 +- docs/functions/auth.html | 2 +- docs/functions/claimCheck.html | 2 +- docs/functions/claimEquals.html | 2 +- docs/functions/claimIncludes.html | 2 +- docs/functions/requiresAuth.html | 2 +- docs/interfaces/AccessToken.html | 12 ++--- docs/interfaces/ConfigParams.html | 60 ++++++++++++------------ docs/interfaces/CookieConfigParams.html | 14 +++--- docs/interfaces/LoginOptions.html | 8 ++-- docs/interfaces/LogoutOptions.html | 6 +-- docs/interfaces/OpenidRequest.html | 4 +- docs/interfaces/OpenidResponse.html | 4 +- docs/interfaces/RefreshParams.html | 4 +- docs/interfaces/RequestContext.html | 16 +++---- docs/interfaces/ResponseContext.html | 6 +-- docs/interfaces/Session.html | 12 ++--- docs/interfaces/SessionConfigParams.html | 16 +++---- docs/interfaces/SessionStore.html | 8 ++-- docs/interfaces/SessionStorePayload.html | 6 +-- docs/interfaces/TokenParameters.html | 2 +- package-lock.json | 4 +- package.json | 2 +- 24 files changed, 104 insertions(+), 98 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67956952..6063e40e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [v2.10.0](https://github.com/auth0/express-openid-connect/tree/v2.10.0) (2022-11-11) +[Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.9.0...v2.10.0) + +**Added** +- Add option to override transaction cookie name [\#414](https://github.com/auth0/express-openid-connect/pull/414) ([MatthewBacalakis](https://github.com/MatthewBacalakis)) + ## [v2.9.0](https://github.com/auth0/express-openid-connect/tree/v2.9.0) (2022-10-17) [Full Changelog](https://github.com/auth0/express-openid-connect/compare/v2.8.0...v2.9.0) diff --git a/docs/functions/attemptSilentLogin.html b/docs/functions/attemptSilentLogin.html index 168add1e..1889a05d 100644 --- a/docs/functions/attemptSilentLogin.html +++ b/docs/functions/attemptSilentLogin.html @@ -26,7 +26,7 @@

Function attemptSilentLogin

Returns RequestHandler

+
  • Defined in index.d.ts:888
  • +
  • Defined in index.d.ts:788
  • +
  • Defined in index.d.ts:868
  • +
  • Defined in index.d.ts:810
  • Returns boolean

    +
  • Defined in index.d.ts:736
  • token_type: string

    The type of access token, Usually "Bearer".

    +
  • Defined in index.d.ts:726
  • Methods

    @@ -93,7 +93,7 @@

    Parameters

    Optional params: RefreshParams

    Returns Promise<AccessToken>

    +
  • Defined in index.d.ts:748
  • +
  • Defined in index.d.ts:410
  • attemptSilentLogin?: boolean
    @@ -119,21 +119,21 @@
    +
  • Defined in index.d.ts:373
  • auth0Logout?: boolean

    Boolean value to enable idpLogout with an Auth0 custom domain

    +
  • Defined in index.d.ts:264
  • authRequired?: boolean

    Require authentication for all routes.

    +
  • Defined in index.d.ts:448
  • authorizationParams?: AuthorizationParameters
    @@ -150,7 +150,7 @@
    +
  • Defined in index.d.ts:311
  • baseURL?: string
    @@ -162,7 +162,7 @@
    +
  • Defined in index.d.ts:332
  • clientAssertionSigningAlg?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | "ES256" | "ES256K" | "ES384" | "ES512" | "EdDSA"
    @@ -172,7 +172,7 @@
    +
  • Defined in index.d.ts:535
  • clientAssertionSigningKey?: KeyObject | KeyInput | JSONWebKey
    @@ -188,14 +188,14 @@
    +
  • Defined in index.d.ts:527
  • clientAuthMethod?: string

    String value for the client's authentication method. Default is none when using response_type='id_token', private_key_jwt when using a clientAssertionSigningKey, otherwise client_secret_basic.

    +
  • Defined in index.d.ts:485
  • clientID?: string
    @@ -203,7 +203,7 @@
    +
  • Defined in index.d.ts:338
  • clientSecret?: string
    @@ -212,7 +212,7 @@
    +
  • Defined in index.d.ts:345
  • clockTolerance?: number
    @@ -220,7 +220,7 @@
    +
  • Defined in index.d.ts:351
  • enableTelemetry?: boolean
    @@ -228,7 +228,7 @@
    +
  • Defined in index.d.ts:357
  • errorOnRequiredAuth?: boolean
    @@ -236,7 +236,7 @@
    +
  • Defined in index.d.ts:363
  • getLoginState?: ((req: OpenidRequest, options: LoginOptions) => object)
    @@ -270,28 +270,28 @@
    req: LoginOptions

    Returns object

    +
  • Defined in index.d.ts:391
  • httpTimeout?: number

    Http timeout for oidc client requests in milliseconds. Default is 5000. Minimum is 500.

    +
  • Defined in index.d.ts:556
  • httpUserAgent?: string

    Optional User-Agent header value for oidc client requests. Default is express-openid-connect/{version}.

    +
  • Defined in index.d.ts:561
  • idTokenSigningAlg?: string

    String value for the expected ID token algorithm. Default is 'RS256'

    +
  • Defined in index.d.ts:431
  • identityClaimFilter?: string[]
    @@ -299,14 +299,14 @@
    +
  • Defined in index.d.ts:421
  • idpLogout?: boolean

    Boolean value to log the user out from the identity provider on application logout. Default is false

    +
  • Defined in index.d.ts:426
  • issuerBaseURL?: string
    @@ -314,7 +314,7 @@
    +
  • Defined in index.d.ts:437
  • legacySameSiteCookie?: boolean
    @@ -322,7 +322,7 @@
    +
  • Defined in index.d.ts:443
  • logoutParams?: {
        [key: string]: any;
    }
    @@ -334,7 +334,7 @@

    Type declaration

  • [key: string]: any
  • +
  • Defined in index.d.ts:316
  • routes?: {
        callback?: string;
        login?: string | false;
        logout?: string | false;
        postLogoutRedirect?: string;
    }
    @@ -362,7 +362,7 @@
    Optional postLogout The user will be redirected to this after a logout has been performed.

    +
  • Defined in index.d.ts:453
  • secret?: string | string[]
    @@ -372,28 +372,28 @@
    +
  • Defined in index.d.ts:254
  • Object defining application session cookie attributes.

    +
  • Defined in index.d.ts:259
  • tokenEndpointParams?: TokenParameters

    Additional request body properties to be sent to the token_endpoint during authorization code exchange or token refresh.

    +
  • Defined in index.d.ts:551
  • -
    transactionCookie?: Pick<CookieConfigParams, "sameSite">
    +
    transactionCookie?: Pick<CookieConfigParams, "sameSite"> & {
        name?: string;
    }

    Configuration parameters used for the transaction cookie.

    +
  • Defined in index.d.ts:480
  • +
  • Defined in index.d.ts:700
  • path?: string
    @@ -61,7 +61,7 @@
    +
  • Defined in index.d.ts:687
  • sameSite?: string
    @@ -70,7 +70,7 @@
    +
  • Defined in index.d.ts:714
  • secure?: boolean
    @@ -79,7 +79,7 @@
    +
  • Defined in index.d.ts:707
  • transient?: boolean
    @@ -87,7 +87,7 @@
    +
  • Defined in index.d.ts:693
  • +
  • Defined in index.d.ts:212
  • +
  • Defined in index.d.ts:222
  • +
  • Defined in index.d.ts:94
  • idTokenClaims?: IdTokenClaims

    An object containing all the claims of the ID Token.

    +
  • Defined in index.d.ts:113
  • isAuthenticated: (() => boolean)
    @@ -84,7 +84,7 @@

    Type declaration

    Returns boolean

    +
  • Defined in index.d.ts:87
  • refreshToken?: string
    @@ -92,7 +92,7 @@
    +
  • Defined in index.d.ts:108
  • user?: Record<string, any>
    @@ -100,7 +100,7 @@
    +
  • Defined in index.d.ts:119
  • Methods

    @@ -114,7 +114,7 @@
    +
  • Defined in index.d.ts:134
  • +
  • Defined in index.d.ts:165
  • logout: ((opts?: LogoutOptions) => Promise<void>)
    @@ -84,7 +84,7 @@

    Parameters

    Optional opts: LogoutOptions

    Returns Promise<void>

    +
  • Defined in index.d.ts:177
  • Returns string

    +
  • Defined in index.d.ts:644
  • name?: string
    @@ -93,7 +93,7 @@
    +
  • Defined in index.d.ts:621
  • rolling?: boolean
    @@ -104,7 +104,7 @@
    +
  • Defined in index.d.ts:653
  • rollingDuration?: number
    @@ -113,7 +113,7 @@
    +
  • Defined in index.d.ts:660
  • store?: SessionStore
    @@ -124,7 +124,7 @@
    +
  • Defined in index.d.ts:630
  • Returns void

    +
  • Defined in index.d.ts:590
  • Returns void

    +
  • Defined in index.d.ts:598
  • +
  • Defined in index.d.ts:565