diff --git a/msal4j-brokers/.gitignore b/msal4j-brokers/.gitignore
new file mode 100644
index 00000000..8a97050b
--- /dev/null
+++ b/msal4j-brokers/.gitignore
@@ -0,0 +1,29 @@
+# Compiled class file
+*.class
+
+# Log file
+*.log
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.nar
+*.ear
+*.zip
+*.tar.gz
+*.rar
+
+# Intellij
+../.idea/
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
+
+# Lombok
+target/*
\ No newline at end of file
diff --git a/msal4j-brokers/pom.xml b/msal4j-brokers/pom.xml
index 5365e49e..060d756e 100644
--- a/msal4j-brokers/pom.xml
+++ b/msal4j-brokers/pom.xml
@@ -3,22 +3,129 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- jar
com.microsoft.azure
msal4j-brokers
0.0.1
+ jar
+ msal4j-brokers
+
+ Microsoft Authentication Library for Java - Brokers helps you integrate with the broker
+ on windows machine to secure Access tokens and refresh tokens.
+
+ https://github.com/AzureAD/microsoft-authentication-library-for-java
+
+
+ MIT License
+
+
+ 2022
+
+ https://github.com/AzureAD/microsoft-authentication-library-for-java
+
+
+ UTF-8
+
-
-
- com.microsoft.azure
- msal4j
- 1.13.1
-
-
- net.java.dev.jna
- jna-platform
- 5.12.1
-
+
+
+ com.microsoft.azure
+ msal4j
+ 1.13.2
+
+
+ org.projectlombok
+ lombok
+ 1.18.6
+ provided
+
+
+
+
+ central
+ https://repo1.maven.org/maven2
+
+ false
+
+
+
+
+
+ central
+ https://repo1.maven.org/maven2
+
+ false
+
+
+
+
+ ${project.build.directory}/delombok
+
+
+ org.projectlombok
+ lombok-maven-plugin
+ 1.18.2.0
+
+
+
+ delombok
+
+
+
+
+ src/main/java
+ ${project.build.directory}/delombok
+ false
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.10
+
+ -noverify
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.1.0
+
+ ${project.build.directory}/delombok
+
+
+
+ attach-javadocs
+
+ jar
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 2.2.1
+
+
+ attach-sources
+
+ jar
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.7.0
+
+ 8
+ 8
+
+
+
+
+
\ No newline at end of file
diff --git a/msal4j-brokers/src/main/java/com/microsoft/aad/msal4jbrokers/MSALRuntimeBroker.java b/msal4j-brokers/src/main/java/com/microsoft/aad/msal4jbrokers/MSALRuntimeBroker.java
new file mode 100644
index 00000000..598b83ac
--- /dev/null
+++ b/msal4j-brokers/src/main/java/com/microsoft/aad/msal4jbrokers/MSALRuntimeBroker.java
@@ -0,0 +1,31 @@
+package com.microsoft.aad.msal4jbrokers;
+
+import com.microsoft.aad.msal4j.*;
+import lombok.extern.slf4j.Slf4j;
+
+import java.util.concurrent.CompletableFuture;
+
+@Slf4j
+public class MSALRuntimeBroker implements IBroker {
+
+ @Override
+ public IAuthenticationResult acquireToken(PublicClientApplication application, SilentParameters requestParameters) {
+ log.debug("Should not call this API if msal runtime init failed");
+ throw new MsalClientException("Broker implementation missing", "missing_broker");
+ }
+
+ @Override
+ public IAuthenticationResult acquireToken(PublicClientApplication application, InteractiveRequestParameters requestParameters) {
+ throw new MsalClientException("Broker implementation missing", "missing_broker");
+ }
+
+ @Override
+ public IAuthenticationResult acquireToken(PublicClientApplication application, UserNamePasswordParameters requestParameters) {
+ throw new MsalClientException("Broker implementation missing", "missing_broker");
+ }
+
+ @Override
+ public CompletableFuture removeAccount(IAccount account) {
+ throw new MsalClientException("Broker implementation missing", "missing_broker");
+ }
+}