0 follower

Interface Yiisoft\Auth\IdentityInterface

Identity is what represents a "user" that can authenticate in the application.

Public Methods

Hide inherited methods

Method Description Defined By
getId() Returns an ID that can uniquely identify a user identity. Yiisoft\Auth\IdentityInterface

Method Details

Hide inherited methods

getId() public abstract method

Returns an ID that can uniquely identify a user identity.

public abstract string getId ( )
return string

An ID that uniquely identifies a user identity.

                public function getId(): ?string;