public static function fromProto(ProtoAuthTicket $ticket) : self
    {
        return new self($ticket->getStart()->getContents(), $ticket->getEnd()->getContents(), $ticket->getExpireTimestampMs());
    }
public static function fromProto(ProtoAuthTicket $ticket) : self
    {
        return new self($ticket->getStart()->getContents(), $ticket->getEnd()->getContents(), $ticket->getExpireTimestampMs());
    }
public static function fromProto ( ProtoAuthTicket $ ticket ) : self { return new self ( $ ticket -> getStart ( ) -> getContents ( ) , $ ticket -> getEnd ( ) -> getContents ( ) , $ ticket -> getExpireTimestampMs ( ) ) ; }
Create from prototicket

@param ProtoAuthTicket $ticket
@return AuthTicket
Create from prototicket