class Registration
Properties
| protected array | $provided |
|
||
| protected array | $suggested |
|
||
| protected mixed | $payload |
|
Methods
provideAvatar2x(string $url)
Provide a 2× (200px) HiDPI avatar URL from the OAuth provider.
provideAvatar3x(string $url)
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 40
Registration
provideTrustedEmail(string $email)
at
line 45
Registration
provideAvatar(string $url)
at
line 57
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 69
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.