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

com.smartling.api.sdk.auth.AuthenticationToken Maven / Gradle / Ivy

There is a newer version: 4.0.25
Show newest version
package com.smartling.api.sdk.auth;

public class AuthenticationToken
{
    private final String rawTokenString;

    public AuthenticationToken(final String tokenType, final String accessToken)
    {
        rawTokenString = String.format("%s %s", tokenType, accessToken);
    }

    public AuthenticationToken(final String rawTokenString)
    {
        this.rawTokenString = rawTokenString;
    }

    public String getAuthorizationTokenString()
    {
        return rawTokenString;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy