/*
  Copyright 2012 Jerome Leleu

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 */
package org.scribe.up.credential;

import java.io.Serializable;

import org.scribe.model.Token;

/**
 * This class represents an OAuth credential : a request token, a token and a verifier associated to a provider type.
 * 
 * @author Jerome Leleu
 * @since 1.0.0
 */
public final class OAuthCredential implements Serializable {
    
    private static final long serialVersionUID = 7551963741090457321L;
    
    private Token requestToken;
    
    private String token;
    
    private String verifier;
    
    private String providerType;
    
    public OAuthCredential(Token requestToken, String token, String verifier, String providerType) {
        this.requestToken = requestToken;
        this.token = token;
        this.verifier = verifier;
        this.providerType = providerType;
    }
    
    public Token getRequestToken() {
        return requestToken;
    }
    
    public String getToken() {
        return token;
    }
    
    public String getVerifier() {
        return verifier;
    }
    
    public String getProviderType() {
        return providerType;
    }
    
    @Override
    public String toString() {
        return "OAuthCredential{requestToken:" + requestToken + ",token:" + token + ",verifier:" + verifier
               + ",providerType:" + providerType + "}";
    }
}

@@ -856,22 +856,16 @@
 %0Apublic 
-final 
 class OA
@@ -962,27 +962,28 @@
 D = 
-7551963741090457321
+-3590688958662634837
 L;%0A 
@@ -998,16 +998,22 @@
 private 
+final 
 Token re
@@ -1037,24 +1037,30 @@
     private 
+final 
 String token
@@ -1074,24 +1074,30 @@
     private 
+final 
 String verif
@@ -1118,16 +1118,22 @@
 private 
+final 
 String p
@@ -1177,16 +1177,22 @@
 dential(
+final 
 Token re
@@ -1198,24 +1198,30 @@
 equestToken,
+ final
  String toke
@@ -1222,16 +1222,22 @@
 g token,
+ final
  String 
@@ -1245,16 +1245,49 @@
 erifier,
+%0A                           final
  String 
@@ -1842,16 +1842,21 @@
 ken:%22 + 
+this.
 requestT
@@ -1874,16 +1874,21 @@
 ken:%22 + 
+this.
 token + 
@@ -1903,20 +1903,11 @@
 er:%22
- + verifier%0A
+%0A  
     
@@ -1915,17 +1915,31 @@
         
- 
++ this.verifier
  + %22,pro
@@ -1952,16 +1952,21 @@
 ype:%22 + 
+this.
 provider

remove final for OAuthCredential