supertokens-node
    Preparing search index...

    Variable validateOAuth2RefreshToken

    validateOAuth2RefreshToken: (
        token: string,
        scopes?: string[],
        userContext?: Record<string, any>,
    ) => Promise<ErrorOAuth2 | (InstrospectTokenResponse & { status: "OK"; })> = Wrapper.validateOAuth2RefreshToken

    Type declaration

      • (
            token: string,
            scopes?: string[],
            userContext?: Record<string, any>,
        ): Promise<ErrorOAuth2 | (InstrospectTokenResponse & { status: "OK"; })>
      • Parameters

        • token: string
        • Optionalscopes: string[]
        • OptionaluserContext: Record<string, any>

        Returns Promise<ErrorOAuth2 | (InstrospectTokenResponse & { status: "OK"; })>