com.squareup.square.BearerAuthCredentials Maven / Gradle / Ivy
package com.squareup.square;
/**
 * Interface to access authentication credentials.
 */
public interface BearerAuthCredentials {
    /**
     * String value for accessToken.
     * @return accessToken
     */
    String getAccessToken();
    /**
     * Checks if provided credentials matched with existing ones.
     * @param accessToken String value for credentials.
     * @return true if credentials matched.
     */
    boolean equals(String accessToken);
}    © 2015 - 2025 Weber Informatics LLC | Privacy Policy