View Javadoc

1   /**
2    *       Copyright 2010 Newcastle University
3    *
4    *          http://research.ncl.ac.uk/smart/
5    *
6    * Licensed to the Apache Software Foundation (ASF) under one or more
7    * contributor license agreements.  See the NOTICE file distributed with
8    * this work for additional information regarding copyright ownership.
9    * The ASF licenses this file to You under the Apache License, Version 2.0
10   * (the "License"); you may not use this file except in compliance with
11   * the License.  You may obtain a copy of the License at
12   *
13   *      http://www.apache.org/licenses/LICENSE-2.0
14   *
15   * Unless required by applicable law or agreed to in writing, software
16   * distributed under the License is distributed on an "AS IS" BASIS,
17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   * See the License for the specific language governing permissions and
19   * limitations under the License.
20   */
21  
22  package org.apache.amber.oauth2.client.demo.model;
23  
24  /**
25   *
26   *
27   *
28   */
29  public class OAuthRegParams extends OAuthParams {
30  
31      private String registrationType;
32      private String name = "OAuth V2.0 Demo Application";
33      private String url = "http://localhost:8080";
34      private String description = "Demo Application of the OAuth V2.0 Protocol";
35      private String icon = "http://localhost:8080/demo.png";
36      private String registrationEndpoint;
37  
38      public String getRegistrationType() {
39          return registrationType;
40      }
41  
42      public void setRegistrationType(String registrationType) {
43          this.registrationType = registrationType;
44      }
45  
46      public String getName() {
47          return name;
48      }
49  
50      public void setName(String name) {
51          this.name = name;
52      }
53  
54      public String getUrl() {
55          return url;
56      }
57  
58      public void setUrl(String url) {
59          this.url = url;
60      }
61  
62      public String getDescription() {
63          return description;
64      }
65  
66      public void setDescription(String description) {
67          this.description = description;
68      }
69  
70      public String getIcon() {
71          return icon;
72      }
73  
74      public void setIcon(String icon) {
75          this.icon = icon;
76      }
77  
78      public String getRegistrationEndpoint() {
79          return registrationEndpoint;
80      }
81  
82      public void setRegistrationEndpoint(String registrationEndpoint) {
83          this.registrationEndpoint = registrationEndpoint;
84      }
85  }