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() {
 | 
						public ProofType getProofType() {
 | 
				
			||||||
		if(jwt == null) return ProofType.EMBEDDED;
 | 
							return jwt == null ? ProofType.EMBEDDED : ProofType.EXTERNAL;
 | 
				
			||||||
		return ProofType.EXTERNAL;
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user