CacaoRequestPayload.fromPayloadParams constructor

CacaoRequestPayload.fromPayloadParams(
  1. SessionAuthPayload params
)

Implementation

factory CacaoRequestPayload.fromPayloadParams(SessionAuthPayload params) {
  return CacaoRequestPayload(
    domain: params.domain,
    aud: params.aud,
    version: params.version,
    nonce: params.nonce,
    iat: params.iat,
    nbf: params.nbf,
    exp: params.exp,
    statement: params.statement,
    requestId: params.requestId,
    resources: params.resources,
  );
}