Class PerunClient

java.lang.Object
cz.metacentrum.perun.core.api.PerunClient

public class PerunClient extends Object
Representing client user (or machine) using to communicate with perun.
Author:
Ondrej Velisek <ondrejvelisek@gmail.com>
  • Field Details

  • Constructor Details

    • PerunClient

      public PerunClient(String id, List<String> scopes)
      Create OAuth / OIDC client.
      Parameters:
      id - "Client id" in OAuth terminology
      scopes - Domains represent clinet rights. "Scopes" in OAuth terminology. "Claims" in OpenID terminology
    • PerunClient

      public PerunClient()
      Create trustful internal client. E.g. GUI, test or client for internal components.
  • Method Details