ctx.Logger.WithFields(map[string]any{"discoverable":discoverable}).Trace("Determined Credential Discoverability via Client Extension Results")
returndiscoverable
}else{
ctx.Logger.WithFields(map[string]any{"discoverable":false}).Trace("Assuming Credential Discoverability is false as the 'rk' field for the 'credProps' extension in the Client Extension Results was not a boolean")
}
}else{
ctx.Logger.WithFields(map[string]any{"discoverable":false}).Trace("Assuming Credential Discoverability is false as the 'rk' field for the 'credProps' extension was missing from the Client Extension Results")
}
returnfalse
default:
ctx.Logger.WithFields(map[string]any{"discoverable":false}).Trace("Assuming Credential Discoverability is false as the 'credProps' extension in the Client Extension Results does not appear to be a dictionary")
returnfalse
}
}
ctx.Logger.WithFields(map[string]any{"discoverable":false}).Trace("Assuming Credential Discoverability is false as the 'credProps' extension is missing from the Client Extension Results")