Package dev.dsf.common.auth
Interface DsfOpenIdCredentials
public interface DsfOpenIdCredentials
-
Method Summary
Modifier and TypeMethodDescriptiongetLongClaim
(String key) getStringClaimOrDefault
(String key, String defaultValue)
-
Method Details
-
getUserId
String getUserId() -
getAccessToken
-
getIdToken
- Returns:
- empty when authentication via bearer token
-
getLongClaim
- Parameters:
key
- notnull
- Returns:
null
if noLong
entry with the given key in id-token
-
getStringClaimOrDefault
- Parameters:
key
- notnull
defaultValue
-- Returns:
- defaultValue if no
String
entry with the given key in id-token
-