getKeyAuthorizationForChallenge method
Implementation
String? getKeyAuthorizationForChallenge(String type) {
try {
var chall = challenges!.firstWhere((element) => element.type == type);
var keyAuthorization = '${chall.token!}.${digest!}';
return keyAuthorization;
} on StateError {
return null;
}
}