View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.syncope.core.persistence.api.entity;
20  
21  import java.util.List;
22  import java.util.Optional;
23  import org.apache.syncope.common.lib.to.Item;
24  
25  public interface OIDCC4UIProvider extends Entity {
26  
27      String getName();
28  
29      void setName(String entityID);
30  
31      String getClientID();
32  
33      void setClientID(String clientId);
34  
35      String getClientSecret();
36  
37      void setClientSecret(String clientSecret);
38  
39      String getAuthorizationEndpoint();
40  
41      void setAuthorizationEndpoint(String authorizationEndpoint);
42  
43      String getTokenEndpoint();
44  
45      void setTokenEndpoint(String tokenEndpoint);
46  
47      String getJwksUri();
48  
49      void setJwksUri(String jwsUri);
50  
51      String getIssuer();
52  
53      void setIssuer(String issuer);
54  
55      String getUserinfoEndpoint();
56  
57      void setUserinfoEndpoint(String userinfoEndpoint);
58  
59      String getEndSessionEndpoint();
60  
61      void setEndSessionEndpoint(String endSessionEndpoint);
62  
63      List<String> getScopes();
64  
65      void setScopes(List<String> scopes);
66  
67      boolean getHasDiscovery();
68  
69      void setHasDiscovery(boolean hasDiscovery);
70  
71      boolean isCreateUnmatching();
72  
73      void setCreateUnmatching(boolean createUnmatching);
74  
75      boolean isSelfRegUnmatching();
76  
77      void setSelfRegUnmatching(boolean selfRegUnmatching);
78  
79      boolean isUpdateMatching();
80  
81      void setUpdateMatching(boolean updateMatching);
82  
83      OIDCC4UIUserTemplate getUserTemplate();
84  
85      void setUserTemplate(OIDCC4UIUserTemplate userTemplate);
86  
87      Optional<Item> getConnObjectKeyItem();
88  
89      void setConnObjectKeyItem(Item item);
90  
91      List<Item> getItems();
92  
93      boolean add(Implementation action);
94  
95      List<? extends Implementation> getActions();
96  }