Skip to content

Commit 22e694c

Browse files
committed
minor #19675 doc: Access Token Authentication - added a disambiguation on what the identifier is (glukose)
This PR was submitted for the 7.0 branch but it was merged into the 6.4 branch instead. Discussion ---------- doc: Access Token Authentication - 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. Well I got stuck a fair amount of time on this, this comment might help others ? Commits ------- 995b8ac doc: added a disambiguation on what the identifier is
2 parents 64eb515 + 995b8ac commit 22e694c

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)