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()
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)