We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
audience
1 parent 0bf4424 commit 874eb13Copy full SHA for 874eb13
lib/src/jwt.dart
@@ -215,15 +215,15 @@ class JWT {
215
final payload =
216
(jsonBase64.decode(base64Padded(parts[1])) as Map<String, dynamic>);
217
218
- final audiance = _parseAud(payload['aud']);
+ final audience = _parseAud(payload['aud']);
219
final issuer = payload['iss']?.toString();
220
final subject = payload['sub']?.toString();
221
final jwtId = payload['jti']?.toString();
222
223
return JWT(
224
payload,
225
header: header is! Map<String, dynamic> ? null : header,
226
- audience: audiance,
+ audience: audience,
227
issuer: issuer,
228
subject: subject,
229
jwtId: jwtId,
0 commit comments