WindowsSecurityContextOptions.fromJson constructor
Creates a WindowsSecurityContextOptions from JSON data.
Implementation
factory WindowsSecurityContextOptions.fromJson(Map<String, dynamic> json) {
final tempGmsaCredentialSpecJson = json['gmsaCredentialSpec'];
final tempGmsaCredentialSpecNameJson = json['gmsaCredentialSpecName'];
final tempHostProcessJson = json['hostProcess'];
final tempRunAsUserNameJson = json['runAsUserName'];
final String? tempGmsaCredentialSpec = tempGmsaCredentialSpecJson;
final String? tempGmsaCredentialSpecName = tempGmsaCredentialSpecNameJson;
final bool? tempHostProcess = tempHostProcessJson;
final String? tempRunAsUserName = tempRunAsUserNameJson;
return WindowsSecurityContextOptions(
gmsaCredentialSpec: tempGmsaCredentialSpec,
gmsaCredentialSpecName: tempGmsaCredentialSpecName,
hostProcess: tempHostProcess,
runAsUserName: tempRunAsUserName,
);
}