Add getter-methods to OAuth2GrantType.Context (#31077)

closes #31076

Signed-off-by: Pascal Knüppel <pascal.knueppel@governikus.de>
This commit is contained in:
Pascal Knüppel 2024-07-11 18:07:26 +02:00 committed by GitHub
parent e80c3fee9b
commit b005625591
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,6 +125,57 @@ public interface OAuth2GrantType extends Provider {
this.clientAuthAttributes = clientAuthAttributes; this.clientAuthAttributes = clientAuthAttributes;
} }
public ClientModel getClient() {
return client;
}
public Map<String, String> getClientAuthAttributes() {
return clientAuthAttributes;
}
public Object getClientConfig() {
return clientConfig;
}
public ClientConnection getClientConnection() {
return clientConnection;
}
public Cors getCors() {
return cors;
}
public EventBuilder getEvent() {
return event;
}
public MultivaluedMap<String, String> getFormParams() {
return formParams;
}
public HttpHeaders getHeaders() {
return headers;
}
public RealmModel getRealm() {
return realm;
}
public HttpRequest getRequest() {
return request;
}
public HttpResponse getResponse() {
return response;
}
public KeycloakSession getSession() {
return session;
}
public Object getTokenManager() {
return tokenManager;
}
} }
} }