Interface DsfOpenIdCredentials


public interface DsfOpenIdCredentials
  • Method Details

    • getUserId

      String getUserId()
    • getAccessToken

      Map<String,Object> getAccessToken()
    • getIdToken

      Map<String,Object> getIdToken()
      Returns:
      empty when authentication via bearer token
    • getLongClaim

      Long getLongClaim(String key)
      Parameters:
      key - not null
      Returns:
      null if no Long entry with the given key in id-token
    • getStringClaimOrDefault

      String getStringClaimOrDefault(String key, String defaultValue)
      Parameters:
      key - not null
      defaultValue -
      Returns:
      defaultValue if no String entry with the given key in id-token