CredentialStatus
Represents the status information for a credential, including its ID, revocation nonce, and type.
- Full name:
\Bloock\Entity\Identity\CredentialStatus
Properties
id
private string $id
revocationNonce
private int $revocationNonce
type
private string $type
Methods
__construct
Constructs an CredentialStatus object with the specified parameters.
public __construct(string $id, int $revocationNonce, string $type): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$id | string | |
$revocationNonce | int | |
$type | string |
fromProto
public static fromProto(\Bloock\CredentialStatus $res): \Bloock\Entity\Identity\CredentialStatus
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$res | \Bloock\CredentialStatus |
getId
Gets the ID associated with the credential.
public getId(): string
getRevocationNonce
Gets the revocation nonce associated with the credential.
public getRevocationNonce(): int
getType
Gets the type of the credential.
public getType(): string
toProto
public toProto(): \Bloock\CredentialStatus
Automatically generated on 2024-04-02