Class OA2Asset

    • Field Detail

      • REFRESH_TOKEN_KEY

        protected String REFRESH_TOKEN_KEY
      • ACCESS_TOKEN_KEY

        protected String ACCESS_TOKEN_KEY
      • STATE_KEY

        protected String STATE_KEY
      • NONCE_KEY

        protected String NONCE_KEY
      • ISSUED_AT_KEY

        protected String ISSUED_AT_KEY
      • ID_TOKEN_KEY

        protected String ID_TOKEN_KEY
    • Constructor Detail

      • OA2Asset

        public OA2Asset​(edu.uiuc.ncsa.security.core.Identifier identifier)
    • Method Detail

      • hasRefreshToken

        public boolean hasRefreshToken()
      • getIssuedAt

        public Date getIssuedAt()
      • setIssuedAt

        public void setIssuedAt​(Date issuedAt)
      • getState

        public String getState()
      • setState

        public void setState​(String state)
      • getNonce

        public String getNonce()
      • setNonce

        public void setNonce​(String nonce)
      • setAccessToken

        public void setAccessToken​(AccessTokenImpl accessToken)
      • setRefreshToken

        public void setRefreshToken​(RefreshTokenImpl refreshToken)
      • getIdToken

        public net.sf.json.JSONObject getIdToken()
      • setIdToken

        public void setIdToken​(net.sf.json.JSONObject idToken)
      • toJSON

        public net.sf.json.JSONObject toJSON()
        Overrides:
        toJSON in class Asset
      • fromJSON

        public void fromJSON​(net.sf.json.JSONObject jsonObject)
        Overrides:
        fromJSON in class Asset