OAuthServiceProvider.java revision b852fcf48a8909164d7f323dd02a35d2a8056a61
1/*
2 * Copyright 2007 Netflix, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package net.oauth;
18
19import java.io.Serializable;
20
21/**
22 * Properties of an OAuth Service Provider.
23 *
24 * @author John Kristian
25 * @hide
26 */
27public class OAuthServiceProvider implements Serializable {
28
29    private static final long serialVersionUID = 3306534392621038574L;
30
31    public final String requestTokenURL;
32    public final String userAuthorizationURL;
33    public final String accessTokenURL;
34
35    public OAuthServiceProvider(String requestTokenURL,
36            String userAuthorizationURL, String accessTokenURL) {
37        this.requestTokenURL = requestTokenURL;
38        this.userAuthorizationURL = userAuthorizationURL;
39        this.accessTokenURL = accessTokenURL;
40    }
41
42}
43