com.sola.instagram.auth
Class InstagramAuthentication

java.lang.Object
  extended by com.sola.instagram.auth.InstagramAuthentication

public class InstagramAuthentication
extends java.lang.Object


Constructor Summary
InstagramAuthentication()
           
 
Method Summary
 AccessToken build(java.lang.String code)
           
 AccessToken getAccessToken()
           
 User getAuthenticatedUser()
           
 java.lang.String getAuthorizationUri()
           
 java.lang.String getScope()
           
 InstagramAuthentication setClientId(java.lang.String clientId)
           
 InstagramAuthentication setClientSecret(java.lang.String clientSecret)
           
 InstagramAuthentication setRedirectUri(java.lang.String redirectUri)
           
 InstagramAuthentication setScope(java.lang.String scope)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstagramAuthentication

public InstagramAuthentication()
Method Detail

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)