blob: 8c8d39df639e96e6b2fad92687d2901626058229 [file] [log] [blame]
margaretha230effb2018-11-29 17:28:18 +01001package de.ids_mannheim.korap.oauth2.dto;
2
margaretha4f4b9ab2021-04-30 17:33:21 +02003import com.fasterxml.jackson.annotation.JsonProperty;
4
margarethabb1c1452021-03-29 15:22:18 +02005import de.ids_mannheim.korap.oauth2.constant.OAuth2ClientType;
6
margaretha398f4722019-01-09 19:07:20 +01007/** Lists authorized OAuth2 clients of a user
8 *
9 * @author margaretha
10 *
11 */
margaretha230effb2018-11-29 17:28:18 +010012public class OAuth2UserClientDto {
margaretha4f4b9ab2021-04-30 17:33:21 +020013 @JsonProperty("client_id")
margaretha230effb2018-11-29 17:28:18 +010014 private String clientId;
margaretha4f4b9ab2021-04-30 17:33:21 +020015 @JsonProperty("client_name")
margaretha230effb2018-11-29 17:28:18 +010016 private String clientName;
margaretha4f4b9ab2021-04-30 17:33:21 +020017 @JsonProperty("client_type")
margarethabb1c1452021-03-29 15:22:18 +020018 private OAuth2ClientType clientType;
margarethac20cd342019-11-14 10:59:39 +010019 private String description;
20 private String url;
margaretha230effb2018-11-29 17:28:18 +010021
22 public String getClientName () {
23 return clientName;
24 }
25 public void setClientName (String clientName) {
26 this.clientName = clientName;
27 }
28 public String getClientId () {
29 return clientId;
30 }
31 public void setClientId (String clientId) {
32 this.clientId = clientId;
33 }
margarethac20cd342019-11-14 10:59:39 +010034 public String getDescription () {
35 return description;
36 }
37 public void setDescription (String description) {
38 this.description = description;
39 }
40 public String getUrl () {
41 return url;
42 }
43 public void setUrl (String url) {
44 this.url = url;
45 }
margarethabb1c1452021-03-29 15:22:18 +020046 public OAuth2ClientType getClientType () {
47 return clientType;
48 }
49 public void setClientType (OAuth2ClientType clientType) {
50 this.clientType = clientType;
51 }
margaretha230effb2018-11-29 17:28:18 +010052}