claims property

  1. @TagNumber.new(4)
Struct get claims

Structured claims presented with the credential. JWTs include {key: value} pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT:

{'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': '123456789012', 'pubsub.googleapis.com', 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926}

SAML assertions are similarly specified, but with an identity provider dependent structure.

Implementation

@$pb.TagNumber(4)
$1.Struct get claims => $_getN(3);
  1. @TagNumber.new(4)
set claims (Struct value)

Implementation

@$pb.TagNumber(4)
set claims($1.Struct value) => $_setField(4, value);