Class OAuth2Authorization

java.lang.Object
com.github.scribejava.core.model.OAuth2Authorization

public class OAuth2Authorization
extends java.lang.Object
represents Authorization Response http://tools.ietf.org/html/rfc6749#section-4.1.2 If the resource owner grants the access request, the authorization server issues an authorization code and delivers it to the client by adding the following parameters to the query component of the redirection URI using the "application/x-www-form-urlencoded" format.
  • Constructor Summary

    Constructors
    Constructor Description
    OAuth2Authorization()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCode()  
    java.lang.String getState()  
    void setCode​(java.lang.String code)  
    void setState​(java.lang.String state)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OAuth2Authorization

      public OAuth2Authorization()
  • Method Details

    • getCode

      public java.lang.String getCode()
    • setCode

      public void setCode​(java.lang.String code)
    • getState

      public java.lang.String getState()
    • setState

      public void setState​(java.lang.String state)