TOauth2AuthenticateBody.fromJson constructor
TOauth2AuthenticateBody.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TOauth2AuthenticateBody.fromJson(Map<String, dynamic> json) {
final _timestampMs = json['timestampMs'] as String?;
final _organizationId = json['organizationId'] as String?;
final _oauth2CredentialId = json['oauth2CredentialId'] as String;
final _authCode = json['authCode'] as String;
final _redirectUri = json['redirectUri'] as String;
final _codeVerifier = json['codeVerifier'] as String;
final _nonce = json['nonce'] as String?;
final _bearerTokenTargetPublicKey = json['bearerTokenTargetPublicKey'] as String?;
return TOauth2AuthenticateBody(
timestampMs: _timestampMs,
organizationId: _organizationId,
oauth2CredentialId: _oauth2CredentialId,
authCode: _authCode,
redirectUri: _redirectUri,
codeVerifier: _codeVerifier,
nonce: _nonce,
bearerTokenTargetPublicKey: _bearerTokenTargetPublicKey,
);
}