com.sola.instagram.auth
Class InstagramAuthentication
java.lang.Object
com.sola.instagram.auth.InstagramAuthentication
public class InstagramAuthentication
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstagramAuthentication
public InstagramAuthentication()
getScope
public java.lang.String getScope()
setScope
public InstagramAuthentication setScope(java.lang.String scope)
setRedirectUri
public InstagramAuthentication setRedirectUri(java.lang.String redirectUri)
setClientId
public InstagramAuthentication setClientId(java.lang.String clientId)
getAuthorizationUri
public java.lang.String getAuthorizationUri()
throws InstagramException
- Throws:
InstagramException
build
public AccessToken build(java.lang.String code)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAccessToken
public AccessToken getAccessToken()
throws InstagramException
- Throws:
InstagramException
getAuthenticatedUser
public User getAuthenticatedUser()
throws InstagramException
- Throws:
InstagramException
setClientSecret
public InstagramAuthentication setClientSecret(java.lang.String clientSecret)