+
Skip to content

Add missing classes by keycloak-authorization extension of Quarkus #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions client-common-synced/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@

org/keycloak/protocol/oidc/client/authentication/*.java,

org/keycloak/protocol/oidc/representations/**/*.java,

org/keycloak/constants/ServiceUrlConstants.java,

</includes>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
/*
* Copyright 2021 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

package org.keycloak.protocol.oidc.representations;

import java.util.HashMap;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonProperty;

public class MTLSEndpointAliases {

@JsonProperty("token_endpoint")
private String tokenEndpoint;
@JsonProperty("revocation_endpoint")
private String revocationEndpoint;
@JsonProperty("introspection_endpoint")
private String introspectionEndpoint;
@JsonProperty("device_authorization_endpoint")
private String deviceAuthorizationEndpoint;
@JsonProperty("registration_endpoint")
private String registrationEndpoint;
@JsonProperty("userinfo_endpoint")
private String userInfoEndpoint;
@JsonProperty("pushed_authorization_request_endpoint")
private String pushedAuthorizationRequestEndpoint;
@JsonProperty("backchannel_authentication_endpoint")
private String backchannelAuthenticationEndpoint;

// For custom endpoints in the future
protected Map<String, Object> otherClaims = new HashMap<String, Object>();

public MTLSEndpointAliases() { }

public String getTokenEndpoint() {
return tokenEndpoint;
}

public void setTokenEndpoint(String tokenEndpoint) {
this.tokenEndpoint = tokenEndpoint;
}

public String getRevocationEndpoint() {
return revocationEndpoint;
}

public void setRevocationEndpoint(String revocationEndpoint) {
this.revocationEndpoint = revocationEndpoint;
}

public String getIntrospectionEndpoint() {
return introspectionEndpoint;
}

public void setIntrospectionEndpoint(String introspectionEndpoint) {
this.introspectionEndpoint = introspectionEndpoint;
}

public String getDeviceAuthorizationEndpoint() {
return deviceAuthorizationEndpoint;
}

public void setDeviceAuthorizationEndpoint(String deviceAuthorizationEndpoint) {
this.deviceAuthorizationEndpoint = deviceAuthorizationEndpoint;
}

public String getRegistrationEndpoint() {
return registrationEndpoint;
}

public void setRegistrationEndpoint(String registrationEndpoint) {
this.registrationEndpoint = registrationEndpoint;
}

public String getUserInfoEndpoint() {
return userInfoEndpoint;
}

public void setUserInfoEndpoint(String userInfoEndpoint) {
this.userInfoEndpoint = userInfoEndpoint;
}

public String getPushedAuthorizationRequestEndpoint() {
return pushedAuthorizationRequestEndpoint;
}

public void setPushedAuthorizationRequestEndpoint(String pushedAuthorizationRequestEndpoint) {
this.pushedAuthorizationRequestEndpoint = pushedAuthorizationRequestEndpoint;
}

public String getBackchannelAuthenticationEndpoint() {
return backchannelAuthenticationEndpoint;
}

public void setBackchannelAuthenticationEndpoint(String backchannelAuthenticationEndpoint) {
this.backchannelAuthenticationEndpoint = backchannelAuthenticationEndpoint;
}

@JsonAnyGetter
public Map<String, Object> getOtherClaims() {
return otherClaims;
}

@JsonAnySetter
public void setOtherClaims(String name, Object value) {
otherClaims.put(name, value);
}
}
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载