com.bimface.sdk.config.authorization.AccessTokenStorage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bimface-java-sdk Show documentation
Show all versions of bimface-java-sdk Show documentation
Bimface provide the required call java sdk.
The newest version!
package com.bimface.sdk.config.authorization;
import com.bimface.exception.BimfaceException;
import com.bimface.sdk.bean.response.AccessTokenBean;
/**
* 缓存AccessToken的接口定义
*
* @author bimface, 2016-06-01.
*/
public interface AccessTokenStorage {
/**
* 保存accessToken
*
* @param accessTokenBean {@link AccessTokenBean}
*/
void put(AccessTokenBean accessTokenBean);
/**
* 获取accessToken
*
* @return {@link AccessTokenBean}
* @throws BimfaceException {@link BimfaceException}
*/
AccessTokenBean get() throws BimfaceException;
default void setTokenTimeout(int tokenTimeout){
return;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy