AttestationToken.GetBody<T> Method

Definition

Retrieves the body of the AttestationToken as the specified type.

public virtual T GetBody<T> () where T : class;
abstract member GetBody : unit -> 'T (requires 'T : null)
override this.GetBody : unit -> 'T (requires 'T : null)
Public Overridable Function GetBody(Of T As Class) () As T

Type Parameters

T

Underlying type for the token body.

Returns

T

Returns the body of the attestation token.

Applies to