Copied!

OAuth2UserService

OAuth2UserService.php : 16

Methods

publicisOAuth2User()

OAuth2UserService.php : 36

Return true if given user is created via OAuth2.

public isOAuth2User(User $user) : bool

Parameters

Name Type Default value Description
$user User - -

Return values

bool

publicnewOAuth2UserCreateStruct()

OAuth2UserService.php : 21

Instantiate a OAuth2 user create struct class.

public newOAuth2UserCreateStruct(string $login, string $email, string $mainLanguageCode[, ContentType|null $contentType = null ]) : UserCreateStruct

Parameters

Name Type Default value Description
$login string - -
$email string - -
$mainLanguageCode string - -
$contentType ContentType|null null -

Return values

UserCreateStruct

publicnewOAuth2UserUpdateStruct()

OAuth2UserService.php : 31

Instantiate a new OAuth2 user update struct.

public newOAuth2UserUpdateStruct() : UserUpdateStruct

Return values

UserUpdateStruct