Documentation

UserinfoReply extends Message
in package

Generated from protobuf message <code>glider.profile.UserinfoReply</code>

Table of Contents

Properties

$email  : mixed
Email of the subject sending the authorization.
$issuer  : mixed
Generated from protobuf field <code>.glider.profile.UserinfoReply.Issuer issuer = 5;</code>
$subject  : mixed
Identifier of the subject sending the authorization.
$username  : mixed
Fullname in a human format of the subject sending the authorization.
$permissions  : mixed
All the permissions the subject has authorized.

Methods

__construct()  : mixed
Constructor.
getEmail()  : string
Email of the subject sending the authorization.
getIssuer()  : int
Generated from protobuf field <code>.glider.profile.UserinfoReply.Issuer issuer = 5;</code>
getPermissions()  : RepeatedField
All the permissions the subject has authorized.
getSubject()  : string
Identifier of the subject sending the authorization.
getUsername()  : string
Fullname in a human format of the subject sending the authorization.
setEmail()  : $this
Email of the subject sending the authorization.
setIssuer()  : $this
Generated from protobuf field <code>.glider.profile.UserinfoReply.Issuer issuer = 5;</code>
setPermissions()  : $this
All the permissions the subject has authorized.
setSubject()  : $this
Identifier of the subject sending the authorization.
setUsername()  : $this
Fullname in a human format of the subject sending the authorization.

Properties

$email

Email of the subject sending the authorization.

protected mixed $email = ''

Generated from protobuf field string email = 6;

$issuer

Generated from protobuf field <code>.glider.profile.UserinfoReply.Issuer issuer = 5;</code>

protected mixed $issuer = 0

$subject

Identifier of the subject sending the authorization.

protected mixed $subject = ''

For users: users/1234. For service accounts: service-accounts/1234@clients.

Generated from protobuf field string subject = 3;

$username

Fullname in a human format of the subject sending the authorization.

protected mixed $username = ''

For users: The given name and lastname. For service-accounts: The name of the account in the admin panel.

Generated from protobuf field string username = 4;

$permissions

All the permissions the subject has authorized.

private mixed $permissions

Generated from protobuf field repeated string permissions = 2;

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type string[]|\Google\Protobuf\Internal\RepeatedField $permissions
      All the permissions the subject has authorized.
@type string $subject
      Identifier of the subject sending the authorization.
      For users: users/1234.
      For service accounts: service-accounts/1234&#64;clients.
@type string $username
      Fullname in a human format of the subject sending the authorization.
      For users: The given name and lastname.
      For service-accounts: The name of the account in the admin panel.
@type int $issuer
@type string $email
      Email of the subject sending the authorization.

}

getEmail()

Email of the subject sending the authorization.

public getEmail() : string

Generated from protobuf field string email = 6;

Return values
string

getIssuer()

Generated from protobuf field <code>.glider.profile.UserinfoReply.Issuer issuer = 5;</code>

public getIssuer() : int
Return values
int

getPermissions()

All the permissions the subject has authorized.

public getPermissions() : RepeatedField

Generated from protobuf field repeated string permissions = 2;

Return values
RepeatedField

getSubject()

Identifier of the subject sending the authorization.

public getSubject() : string

For users: users/1234. For service accounts: service-accounts/1234@clients.

Generated from protobuf field string subject = 3;

Return values
string

getUsername()

Fullname in a human format of the subject sending the authorization.

public getUsername() : string

For users: The given name and lastname. For service-accounts: The name of the account in the admin panel.

Generated from protobuf field string username = 4;

Return values
string

setEmail()

Email of the subject sending the authorization.

public setEmail(string $var) : $this

Generated from protobuf field string email = 6;

Parameters
$var : string
Return values
$this

setIssuer()

Generated from protobuf field <code>.glider.profile.UserinfoReply.Issuer issuer = 5;</code>

public setIssuer(int $var) : $this
Parameters
$var : int
Return values
$this

setPermissions()

All the permissions the subject has authorized.

public setPermissions(array<string|int, string>|RepeatedField $var) : $this

Generated from protobuf field repeated string permissions = 2;

Parameters
$var : array<string|int, string>|RepeatedField
Return values
$this

setSubject()

Identifier of the subject sending the authorization.

public setSubject(string $var) : $this

For users: users/1234. For service accounts: service-accounts/1234@clients.

Generated from protobuf field string subject = 3;

Parameters
$var : string
Return values
$this

setUsername()

Fullname in a human format of the subject sending the authorization.

public setUsername(string $var) : $this

For users: The given name and lastname. For service-accounts: The name of the account in the admin panel.

Generated from protobuf field string username = 4;

Parameters
$var : string
Return values
$this

        
On this page

Search results