method

RiduAuth.rotate

Replace the current bearer token without extending the session.

Arguments

ArgumentTypeDescription
optionsRequestOptions | undefinedRequest options such as an AbortSignal.

Returns

The declared result.

Promise<SessionFor<Config, SessionCollection<Config, DefaultAuth>>>

Full signature

Related types

  • RequestOptions

    Options shared by every request.

  • SessionFor

    One authenticated session narrowed to the auth collection that owns it. With several auth collections this is a union discriminated by collection.

  • SessionCollection

    Auth collections a client's sessions can belong to: its default, or every auth collection.