clean up prooftype getter
This commit is contained in:
		
							parent
							
								
									e413bc1e68
								
							
						
					
					
						commit
						3c0a09624e
					
				@ -64,8 +64,7 @@ public class Credential extends GeneratedObject  {
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	public ProofType getProofType() {
 | 
			
		||||
		if(jwt == null) return ProofType.EMBEDDED;
 | 
			
		||||
		return ProofType.EXTERNAL;
 | 
			
		||||
		return jwt == null ? ProofType.EMBEDDED : ProofType.EXTERNAL;
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user