Next.js
getNhostSession()
Refreshes the access token if there is any and returns the Nhost session.
@returns
Nhost session
Parameters
params required Partial<Pick<NhostReactClientConstructorParams, “subdomain” | “region” | “authUrl” | “graphqlUrl” | “storageUrl” | “functionsUrl”>>
context required GetServerSidePropsContext<ParsedUrlQuery, PreviewData>
Next.js context