Skip to content

Commit

Permalink
make getClaims() publicly available
Browse files Browse the repository at this point in the history
  • Loading branch information
Hergen Dillema committed Dec 7, 2020
1 parent 3b52609 commit 13da725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JwtAuthRoles.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ private static function getKid(string $jwt): ?string
return $header->kid ?? null;
}

private static function getClaims(string $jwt): ?object
public static function getClaims(string $jwt): ?object
{
if (! Str::is('*.*.*', $jwt)) {
throw AuthException::auth(422, 'Malformed JWT');
Expand Down

0 comments on commit 13da725

Please sign in to comment.