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
 InstagramSession build(java.lang.String code)
           
 AccessToken getAccessToken()
           
 java.lang.String getAuthorizationUri()
           
 User getSessionUser()
           
 InstagramSession session()
           
 InstagramAuthentication setClientId(java.lang.String clientId)
           
 InstagramAuthentication setClientSecret(java.lang.String clientSecret)
           
 InstagramAuthentication setRedirectUri(java.lang.String redirectUri)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstagramAuthentication

public InstagramAuthentication()
Method Detail

session

public InstagramSession session()

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 InstagramSession build(java.lang.String code)
                       throws InstagramException
Throws:
InstagramException

getAccessToken

public AccessToken getAccessToken()
                           throws InstagramException
Throws:
InstagramException

getSessionUser

public User getSessionUser()

setClientSecret

public InstagramAuthentication setClientSecret(java.lang.String clientSecret)