Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Flarum
Core
User
accessTokens
Flarum\Core\User::accessTokens PHP Method
User Class Documentation
Show file
Open project: flarum/core
accessTokens()
public
method
Define the relationship with the user's access tokens.
public
accessTokens
( ) :
Illuminate\Database\Eloquent\Relations\HasMany
return
Illuminate\Database\Eloquent\Relations\HasMany
public function accessTokens() { return $this->hasMany('Flarum\\Http\\AccessToken'); }
User
accessTokens
activate
addPreference
boot
can
cannot
changeAvatarPath
changeBio
changeEmail
changePassword
checkPassword
getAlertableNotificationTypes
getAvatarUrlAttribute
getGate
getLocaleAttribute
getNewNotificationsCount
getNotificationPreferenceKey
getPermissions
getPreference
getPreferencesAttribute
getSession
getUnreadNotifications
getUnreadNotificationsCount
groups
hasPermission
hasPermissionLike
isAdmin
isGuest
markAllAsRead
markNotificationsAsRead
notifications
permissions
posts
read
register
rename
requestEmailChange
setGate
setHasher
setPasswordAttribute
setPreference
setPreferencesAttribute
setSession
shouldAlert
shouldEmail
updateLastSeen