v1Oauth2AuthenticateIntent.fromJson constructor

v1Oauth2AuthenticateIntent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory v1Oauth2AuthenticateIntent.fromJson(Map<String, dynamic> json) {
  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 v1Oauth2AuthenticateIntent(
    oauth2CredentialId: _oauth2CredentialId,
    authCode: _authCode,
    redirectUri: _redirectUri,
    codeVerifier: _codeVerifier,
    nonce: _nonce,
    bearerTokenTargetPublicKey: _bearerTokenTargetPublicKey,
  );
}