clean up prooftype getter

This commit is contained in:
Markus Gylling 2022-09-01 18:48:17 +02:00
parent e413bc1e68
commit 3c0a09624e

View File

@ -64,8 +64,7 @@ public class Credential extends GeneratedObject {
} }
public ProofType getProofType() { public ProofType getProofType() {
if(jwt == null) return ProofType.EMBEDDED; return jwt == null ? ProofType.EMBEDDED : ProofType.EXTERNAL;
return ProofType.EXTERNAL;
} }