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

com.vikadata.social.core.AppTicketStorage Maven / Gradle / Ivy

The newest version!
package com.vikadata.social.core;

/**
 * APP Ticket Storage Interface Specification
 * ISV Applications must implement this interface
 */
public interface AppTicketStorage {

    /**
     * obtain ticket
     * @return ticket
     */
    String getTicket();

    /**
     * update ticket
     *
     * @param appTicket        ticket pushed by the open platform
     * @param expiresInSeconds expire seconds, unit:s
     */
    void updateTicket(String appTicket, int expiresInSeconds);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy