Skip to content

Commit 995b8ac

Browse files
glukosejaviereguiluz
authored andcommitted
doc: added a disambiguation on what the identifier is
Users could be confused seeing getUserId() and returning a user Id instead of the identifier defined in the app, such as an email.
1 parent 64eb515 commit 995b8ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

security/access_token.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ This handler must implement
9797
}
9898

9999
// and return a UserBadge object containing the user identifier from the found token
100+
// the user identifier being an email, a username and not necessarily an Id
100101
return new UserBadge($accessToken->getUserId());
101102
}
102103
}

0 commit comments

Comments
 (0)