class Registration
Properties
| protected array | $provided |
|
||
| protected array | $suggested |
|
||
| protected mixed | $payload |
|
Methods
Provide an email address the provider has verified belongs to the user.
Provide a 2× (200px) HiDPI avatar URL from the OAuth provider.
Provide a 3× (300px) HiDPI avatar URL from the OAuth provider.
Details
at
line 18
array
getProvided()
at
line 23
array
getSuggested()
at
line 28
mixed
getPayload()
at
line 33
Registration
provide(string $key, mixed $value)
at
line 46
Registration
provideTrustedEmail(string $email)
Provide an email address the provider has verified belongs to the user.
An account registered with it starts activated, and the provider may be linked to an existing account that uses it ({[\Flarum\Forum\Auth\ResponseFactory::findUserToLink()}). Use](../../../Flarum/Forum/Auth/ResponseFactory.html) {\Flarum\Forum\Auth\suggestEmail()} for an address the provider hasn't verified.
at
line 51
Registration
provideAvatar(string $url)
at
line 63
Registration
provideAvatar2x(string $url)
Provide a 2× (200px) HiDPI avatar URL from the OAuth provider.
Call this alongside provideAvatar() when the provider's CDN supports sized images (e.g. GitHub's ?s=200). Flarum will fetch and store this URL directly rather than upscaling the base avatar.
at
line 75
Registration
provideAvatar3x(string $url)
Provide a 3× (300px) HiDPI avatar URL from the OAuth provider.
Call this alongside provideAvatar() when the provider's CDN supports sized images (e.g. GitHub's ?s=300). Flarum will fetch and store this URL directly rather than upscaling the base avatar.