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.am;
20  
21  import java.util.Set;
22  import org.apache.syncope.common.lib.types.OIDCClientAuthenticationMethod;
23  import org.apache.syncope.common.lib.types.OIDCGrantType;
24  import org.apache.syncope.common.lib.types.OIDCResponseType;
25  import org.apache.syncope.common.lib.types.OIDCSubjectType;
26  
27  public interface OIDCRPClientApp extends ClientApp {
28  
29      void setClientId(String id);
30  
31      String getClientId();
32  
33      void setClientSecret(String secret);
34  
35      String getClientSecret();
36  
37      Set<String> getRedirectUris();
38  
39      Set<OIDCGrantType> getSupportedGrantTypes();
40  
41      Set<OIDCResponseType> getSupportedResponseTypes();
42  
43      Set<String> getScopes();
44  
45      boolean isSignIdToken();
46  
47      void setSignIdToken(boolean signIdToken);
48  
49      boolean isJwtAccessToken();
50  
51      void setJwtAccessToken(boolean jwtAccessToken);
52  
53      boolean isBypassApprovalPrompt();
54  
55      void setBypassApprovalPrompt(boolean bypassApprovalPrompt);
56  
57      boolean isGenerateRefreshToken();
58  
59      void setGenerateRefreshToken(boolean generateRefreshToken);
60  
61      OIDCSubjectType getSubjectType();
62  
63      void setSubjectType(OIDCSubjectType subjectType);
64  
65      String getJwks();
66  
67      void setJwks(String jwks);
68  
69      String getJwksUri();
70  
71      void setJwksUri(String jwksUri);
72  
73      OIDCClientAuthenticationMethod getTokenEndpointAuthenticationMethod();
74  
75      void setTokenEndpointAuthenticationMethod(OIDCClientAuthenticationMethod tokenEndpointAuthenticationMethod);
76  
77      String getLogoutUri();
78  
79      void setLogoutUri(String logoutUri);
80  
81  }