Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Commit eee27d6

Browse files
author
Nakul Sabharwal
committed
username and authorization-code auth providers
1 parent d8eaf43 commit eee27d6

File tree

14 files changed

+805
-0
lines changed

14 files changed

+805
-0
lines changed

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Compiled class file
2+
*.class
3+
4+
# Log file
5+
*.log
6+
7+
# BlueJ files
8+
*.ctxt
9+
10+
# Mobile Tools for Java (J2ME)
11+
.mtj.tmp/
12+
13+
# Package Files #
14+
*.jar
15+
*.war
16+
*.ear
17+
*.zip
18+
*.tar.gz
19+
*.rar
20+
21+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
22+
hs_err_pid*
23+
/.gradle/
24+
/build/
25+
/bin/
26+
27+
#Eclipse
28+
.project
29+
.classpath
30+
.settings
31+
32+
# Maven
33+
/target/
34+
/pom.xml
35+
local.properties

build.gradle

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* This build file was generated by the Gradle 'init' task.
3+
*
4+
* This generated file contains a sample Java Library project to get you started.
5+
* For more details take a look at the Java Libraries chapter in the Gradle
6+
* user guide available at https://docs.gradle.org/4.3/userguide/java_library_plugin.html
7+
*/
8+
9+
// Apply the java-library plugin to add support for Java Library
10+
apply plugin: 'java-library'
11+
12+
// In this section you declare where to find the dependencies of your project
13+
repositories {
14+
// Use jcenter for resolving your dependencies.
15+
// You can declare any Maven/Ivy/file repository here.
16+
jcenter()
17+
jcenter{
18+
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
19+
}
20+
}
21+
22+
dependencies {
23+
// This dependency is exported to consumers, that is to say found on their compile classpath.
24+
api 'org.apache.commons:commons-math3:3.6.1'
25+
26+
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
27+
implementation 'com.google.guava:guava:23.0'
28+
29+
// Use JUnit test framework
30+
testImplementation 'junit:junit:4.12'
31+
32+
compile 'org.mockito:mockito-core:2.9.0'
33+
34+
compile 'org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2'
35+
36+
compile 'com.microsoft.graph:microsoft-graph-core:0.1.0-SNAPSHOT'
37+
38+
}
39+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3-bin.zip
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStorePath=wrapper/dists
5+
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 172 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* This settings file was generated by the Gradle 'init' task.
3+
*
4+
* The settings file is used to specify which projects to include in your build.
5+
* In a single project build this file can be empty or even removed.
6+
*
7+
* Detailed information about configuring a multi-project build in Gradle can be found
8+
* in the user guide at https://docs.gradle.org/4.3/userguide/multi_project_builds.html
9+
*/
10+
11+
/*
12+
// To declare projects as part of a multi-project build use the 'include' method
13+
include 'shared'
14+
include 'api'
15+
include 'services:webservice'
16+
*/
17+
18+
rootProject.name = 'msgraph-sdk-java-auth'
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.microsoft.graph.auth;
2+
3+
public class AuthConstants {
4+
public static class Tenants
5+
{
6+
public static final String Common = "common";
7+
public static final String Organizations = "organizations";
8+
public static final String Consumers = "consumers";
9+
}
10+
}

0 commit comments

Comments
 (0)