claims property

  1. @TagNumber(4)
Struct 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)
$0.Struct get claims => $_getN(3);
  1. @TagNumber(4)
void claims=(Struct v)

Implementation

@$pb.TagNumber(4)
set claims($0.Struct v) { setField(4, v); }