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

com.byteplus.auth.ISignerV4 Maven / Gradle / Ivy

There is a newer version: 1.1.23
Show newest version
package com.byteplus.auth;

import com.byteplus.model.Credentials;
import com.byteplus.service.SignableRequest;

/**
 * The interface Signer.
 */
public interface ISignerV4 {

    /**
     * Sign.
     *
     * @param request     the request
     * @param credentials the credentials
     * @throws Exception the exception
     */
    void sign(SignableRequest request, Credentials credentials) throws Exception;

    /**
     * Sign url string.
     *
     * @param request     the request
     * @param credentials the credentials
     * @return the string
     * @throws Exception the exception
     */
    String signUrl(SignableRequest request, Credentials credentials) throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy