Uses of Class
com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.token.ServiceProviderToken
-
Packages that use ServiceProviderToken Package Description com.atlassian.bitbucket.jenkins.internal.applink.oauth Add package level annotations to indicate everything is non-null by default.com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.token Add package level annotations to indicate everything is non-null by default.com.atlassian.bitbucket.jenkins.internal.jenkins.oauth.token Add package level annotations to indicate everything is non-null by default. -
-
Uses of ServiceProviderToken in com.atlassian.bitbucket.jenkins.internal.applink.oauth
Methods in com.atlassian.bitbucket.jenkins.internal.applink.oauth with parameters of type ServiceProviderToken Modifier and Type Method Description static net.oauth.OAuthAccessor
OAuthConverter. createOAuthAccessor(ServiceProviderToken token)
Creates an OAuth Accessor based on input token -
Uses of ServiceProviderToken in com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.token
Methods in com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.token that return ServiceProviderToken Modifier and Type Method Description ServiceProviderToken
ServiceProviderToken. authorize(String user, String verifier)
If this is an unauthorized request token, this method will return a request token that has been authorized by theuser
.ServiceProviderToken
ServiceProviderToken.ServiceProviderTokenBuilder. build()
Constructs and returns the final requestToken
instance.ServiceProviderToken
ServiceProviderToken. deny(String user)
If this is an unauthorized request token, this method will return a request token that has been denied by theuser
.ServiceProviderToken
ServiceProviderTokenFactory. generateAccessToken(ServiceProviderToken token)
Returns a newly generated access token for the authorized request token.ServiceProviderToken
ServiceProviderTokenFactoryImpl. generateAccessToken(ServiceProviderToken requestToken)
ServiceProviderToken
ServiceProviderTokenFactory. generateRequestToken(Consumer consumer)
Generate an unauthorized request token.ServiceProviderToken
ServiceProviderTokenFactory. generateRequestToken(Consumer consumer, URI callback)
Generate an unauthorized request token.ServiceProviderToken
ServiceProviderTokenFactoryImpl. generateRequestToken(Consumer consumer)
ServiceProviderToken
ServiceProviderTokenFactoryImpl. generateRequestToken(Consumer consumer, URI callback)
ServiceProviderToken
PersistentServiceProviderTokenStore. put(ServiceProviderToken token)
ServiceProviderToken
ServiceProviderTokenStore. put(ServiceProviderToken token)
Put the token in the store.Methods in com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.token that return types with arguments of type ServiceProviderToken Modifier and Type Method Description Optional<ServiceProviderToken>
PersistentServiceProviderTokenStore. get(String token)
Optional<ServiceProviderToken>
ServiceProviderTokenStore. get(String token)
Retrieve aServiceProviderToken
from the store whosetoken
attribute is equal to thetoken
parameter.Iterable<ServiceProviderToken>
PersistentServiceProviderTokenStore. getAccessTokensForUser(String username)
Iterable<ServiceProviderToken>
ServiceProviderTokenStore. getAccessTokensForUser(String username)
Retrieves all the access tokens the user has approved.protected Class<ServiceProviderToken>
PersistentServiceProviderTokenStore. getEntityClass()
Methods in com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.token with parameters of type ServiceProviderToken Modifier and Type Method Description ServiceProviderToken
ServiceProviderTokenFactory. generateAccessToken(ServiceProviderToken token)
Returns a newly generated access token for the authorized request token.ServiceProviderToken
ServiceProviderTokenFactoryImpl. generateAccessToken(ServiceProviderToken requestToken)
static boolean
ServiceProviderTokenUtils. isTokenExpired(ServiceProviderToken token)
static boolean
ServiceProviderTokenUtils. isTokenSessionExpired(ServiceProviderToken token)
ServiceProviderToken
PersistentServiceProviderTokenStore. put(ServiceProviderToken token)
ServiceProviderToken
ServiceProviderTokenStore. put(ServiceProviderToken token)
Put the token in the store. -
Uses of ServiceProviderToken in com.atlassian.bitbucket.jenkins.internal.jenkins.oauth.token
Constructors in com.atlassian.bitbucket.jenkins.internal.jenkins.oauth.token with parameters of type ServiceProviderToken Constructor Description DisplayAccessToken(ServiceProviderToken token, Clock clock)
-