• Preparing search index...
  • The search index is not available
@auth0/nextjs-auth0
  • @auth0/nextjs-auth0
  • helpers/testing
  • generateSessionCookie

Function generateSessionCookie

  • generateSessionCookie(session, config): Promise<string>
  • Parameters

    • session: Partial<default>
    • config: GenerateSessionCookieConfig

    Returns Promise<string>

    • Defined in helpers/testing.ts:23

Settings

Member Visibility

Theme

@auth0/nextjs-auth0
  • client
  • client/use-user
  • client/with-page-auth-required
  • config
  • edge
  • handlers
  • handlers/auth
  • handlers/callback
  • handlers/login
  • handlers/logout
  • handlers/profile
  • handlers/router-helpers
  • helpers
  • helpers/testing
    • GenerateSessionCookieConfig
    • generateSessionCookie
  • helpers/with-api-auth-required
  • helpers/with-middleware-auth-required
  • helpers/with-page-auth-required
  • http
  • http/auth0-next-api-request
  • http/auth0-next-api-response
  • http/auth0-next-request
  • http/auth0-next-request-cookies
  • http/auth0-next-response
  • http/auth0-next-response-cookies
  • index
  • init
  • session
  • session/get-access-token
  • session/get-session
  • session/session
  • session/touch-session
  • session/update-session
  • shared
  • utils/errors
  • version