All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clouway.oauth2.AuthorizedIdentityActivity Maven / Gradle / Ivy

package com.clouway.oauth2;

import com.clouway.friendlyserve.Request;
import com.clouway.friendlyserve.Response;
import com.clouway.oauth2.client.Client;

import java.util.Map;
import java.util.Set;

/**
 * AuthorizedIdentityActivity is an activity which is represents the authorization client.
 *
 * @author Miroslav Genov ([email protected])
 */
interface AuthorizedIdentityActivity {

  /**
   * Handles client request of authorized client and returns response.
   *
   * @param client  the client of which request will be handled
   * @param request the request
   * @param instant the time of which client was requested access
   * @param params
   * @return the response
   */
  Response execute(Client client, Identity identity, Set scopes, Request request, DateTime instant, Map params);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy