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

com.atlassian.connect.spring.ForgeApiContext Maven / Gradle / Ivy

There is a newer version: 5.1.3
Show newest version
package com.atlassian.connect.spring;

import java.util.Optional;

public class ForgeApiContext {
    private ForgeInvocationToken forgeInvocationToken;

    private Optional userToken;

    private Optional appToken;

    public ForgeApiContext(ForgeInvocationToken forgeInvocationToken, Optional userToken, Optional appToken) {
        this.forgeInvocationToken = forgeInvocationToken;
        this.userToken = userToken;
        this.appToken = appToken;
    }

    public ForgeInvocationToken getForgeInvocationToken() {
        return forgeInvocationToken;
    }

    public void setForgeInvocationToken(ForgeInvocationToken forgeInvocationToken) {
        this.forgeInvocationToken = forgeInvocationToken;
    }

    public Optional getUserToken() {
        return userToken;
    }

    public void setUserToken(Optional userToken) {
        this.userToken = userToken;
    }

    public Optional getAppToken() {
        return appToken;
    }

    public void setAppToken(Optional appToken) {
        this.appToken = appToken;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy