com.atlassian.confluence.security.trust
Interface TrustedTokenFactory

All Known Implementing Classes:
DefaultTrustedApplicationsManager

public interface TrustedTokenFactory

A factory for generating trusted tokens


Method Summary
 TrustedToken getToken()
          Deprecated. since 5.3.3 use getToken(String url) instead. A url is required for signing in the v2 or v3 protocols of Trusted Apps. v0 and v1 of the protocol which do not require the URL have been removed from Trusted Apps v3.0.2
 TrustedToken getToken(java.lang.String url)
           
 

Method Detail

getToken

@Deprecated
TrustedToken getToken()
Deprecated. since 5.3.3 use getToken(String url) instead. A url is required for signing in the v2 or v3 protocols of Trusted Apps. v0 and v1 of the protocol which do not require the URL have been removed from Trusted Apps v3.0.2

Returns:
A token appropriate for the current user context

getToken

TrustedToken getToken(java.lang.String url)
Parameters:
url - the request url to get a token for.
Returns:
A token appropriate for the current user context and request url.
Since:
5.3.3


Copyright © 2003-2014 Atlassian. All Rights Reserved.