public class InstagramAuthentication extends Object
Constructor and Description |
---|
InstagramAuthentication() |
Modifier and Type | Method and Description |
---|---|
AccessToken |
build(String code) |
AccessToken |
getAccessToken() |
User |
getAuthenticatedUser() |
String |
getAuthorizationUri() |
protected String |
getClientId() |
protected String |
getClientSecret() |
protected String |
getRedirectUri() |
String |
getScope() |
protected void |
setAccessToken(AccessToken accessToken) |
InstagramAuthentication |
setClientId(String clientId) |
InstagramAuthentication |
setClientSecret(String clientSecret) |
InstagramAuthentication |
setRedirectUri(String redirectUri) |
InstagramAuthentication |
setScope(String scope) |
protected void |
setSessionUser(User sessionUser) |
public String getScope()
public InstagramAuthentication setScope(String scope)
protected String getRedirectUri()
public InstagramAuthentication setRedirectUri(String redirectUri)
protected String getClientId()
public InstagramAuthentication setClientId(String clientId)
public String getAuthorizationUri() throws InstagramException
InstagramException
public AccessToken build(String code) throws Exception
Exception
public AccessToken getAccessToken() throws InstagramException
InstagramException
protected void setAccessToken(AccessToken accessToken)
public User getAuthenticatedUser() throws InstagramException
InstagramException
protected void setSessionUser(User sessionUser)
protected String getClientSecret()
public InstagramAuthentication setClientSecret(String clientSecret)
Copyright © 2013. All Rights Reserved.