elevate method

Future<DVIssuedSession> elevate(
  1. String token, {
  2. required Map<String, Object?> claims,
})

Rotates and merges claims over the session's own — a privilege change, which is the boundary fixation exploits.

Implementation

Future<DVIssuedSession> elevate(
  String token, {
  required Map<String, Object?> claims,
}) =>
    _rotate(token, claims: claims);