-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Auth Category to Staging Branch [Do Not Merge To Master] (#330) * Initial commit * Fixes checkstyle * Raise minSdkVersion to 16 (#327) Given the vanishingly small number of ICS users according to Google's Distribution Dashboard and our own log analysis and industry trends (Google Play Services supports API Level 16+, for example), we are dropping support for API Level 15. * Updated dependencies * Update the plugin key for analytics to match one generated by the cli and update configuration method (#328) * Updates Javadocs * Addresses PR feedback * Added hashCode, toString, and equals methods * Addresses round 2 of PR comments Co-authored-by: John Pignata <[email protected]> Co-authored-by: Roshan Kumar <[email protected]> * Ddaudeli/auth category (#344) * Adds readme for user acceptance * Updates readme * Sign In and Fetch Session (#368) * Adds readme for user acceptance * Updates readme * Sign In and Fetch Session * Addresses PR comments * One more fix * Adds confirmSignIn (#382) * Adds forgotPassword/confirmForgotPassword (#383) * Adds social sign in (#386) * Update README.md * Adds getCurrentUser and changePassword (#393) * Adds social sign in * Adds getCurrentUser and changePassword * Initial addressing of PR comments * Additional PR feedback addressed * Removes unused variable * Auth Sign In/Sign Up Options Updates (#417) * Update options objects to meet design review * Minor fix to builder constructor * Addresses PR feedback * Refactors methods to match design and adds unit tests (#433) * Refactors methods to design and adds unit tests * Adds NonNull/Nullable annotation * Corrects minor spacing * Addresses PR comment * Round 2 of PR feedback * Adds additional JavaDocs to meet new rule * Updates Javadocs * Addresses PR feedback
- Loading branch information
Showing
51 changed files
with
4,494 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
POM_ARTIFACT_ID=aws-analytics-pinpoint | ||
POM_NAME=Amplify Framework for Android - Analytics | ||
POM_DESCRIPTION=Amplify Framework for Android - Analytics Plugin for Amazon Pinpoint (Preview) | ||
POM_DESCRIPTION=Amplify Framework for Android - Analytics Plugin for Amazon Pinpoint | ||
POM_PACKAGING=aar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
POM_ARTIFACT_ID=aws-api | ||
POM_NAME=Amplify Framework for Android - API | ||
POM_DESCRIPTION=Amplify Framework for Android - API Plugin for REST and GraphQL (Preview) | ||
POM_DESCRIPTION=Amplify Framework for Android - API Plugin for REST and GraphQL | ||
POM_PACKAGING=aar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/build | ||
|
||
#amplify | ||
amplify/\#current-cloud-backend | ||
amplify/.config/local-* | ||
amplify/mock-data | ||
amplify/backend/amplify-meta.json | ||
amplify/backend/awscloudformation | ||
build/ | ||
dist/ | ||
node_modules/ | ||
aws-exports.js | ||
awsconfiguration.json | ||
amplifyconfiguration.json | ||
amplify-gradle-config.json | ||
amplifyxc.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file 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. | ||
*/ | ||
|
||
apply plugin: 'com.android.library' | ||
apply from: rootProject.file("configuration/publishing.gradle") | ||
apply from: rootProject.file("configuration/checkstyle.gradle") | ||
|
||
dependencies { | ||
implementation project(path: ':core') | ||
implementation dependency.androidx.appcompat | ||
implementation dependency.aws.mobileclient | ||
implementation dependency.aws.cognitoauth | ||
|
||
testImplementation project(path: ':testutils') | ||
testImplementation dependency.junit | ||
testImplementation dependency.mockito | ||
testImplementation (dependency.robolectric) { | ||
// https://github.com/robolectric/robolectric/issues/5245 | ||
exclude group: 'com.google.auto.service', module: 'auto-service' | ||
} | ||
testImplementation dependency.androidx.test.core | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
POM_ARTIFACT_ID=aws-auth-cognito | ||
POM_NAME=Amplify Framework for Android - Auth | ||
POM_DESCRIPTION=Amplify Framework for Android - Auth Plugin for Amazon Cognito | ||
POM_PACKAGING=aar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# | ||
# This ProGuard configuration file illustrates how to process a program | ||
# library, such that it remains usable as a library. | ||
# Usage: | ||
# java -jar proguard.jar @library.pro | ||
# | ||
|
||
# Specify the input jars, output jars, and library jars. | ||
# In this case, the input jar is the program library that we want to process. | ||
|
||
#-injars in.jar | ||
#-outjars out.jar | ||
# | ||
#-libraryjars <java.home>/lib/rt.jar | ||
# | ||
# Save the obfuscation mapping to a file, so we can de-obfuscate any stack | ||
# traces later on. Keep a fixed source file attribute and all line number | ||
# tables to get line numbers in the stack traces. | ||
# You can comment this out if you're not interested in stack traces. | ||
|
||
#-printmapping out.map | ||
-dontobfuscate | ||
-keepparameternames | ||
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,EnclosingMethod | ||
|
||
# Preserve all annotations. | ||
|
||
-keepattributes *Annotation* | ||
|
||
# Preserve all public classes, and their public and protected fields and | ||
# methods. | ||
|
||
-keep public class * { | ||
public protected *; | ||
} | ||
|
||
# Preserve all .class method names. | ||
|
||
-keepclassmembernames class * { | ||
java.lang.Class class$(java.lang.String); | ||
java.lang.Class class$(java.lang.String, boolean); | ||
} | ||
|
||
# Preserve all native method names and the names of their classes. | ||
|
||
-keepclasseswithmembernames class * { | ||
native <methods>; | ||
} | ||
|
||
# Preserve the special static methods that are required in all enumeration | ||
# classes. | ||
|
||
-keepclassmembers class * extends java.lang.Enum { | ||
public static **[] values(); | ||
public static ** valueOf(java.lang.String); | ||
} | ||
|
||
# Explicitly preserve all serialization members. The Serializable interface | ||
# is only a marker interface, so it wouldn't save them. | ||
# You can comment this out if your library doesn't use serialization. | ||
# If your code contains serializable classes that have to be backward | ||
# compatible, please refer to the manual. | ||
|
||
-keepclassmembers class * implements java.io.Serializable { | ||
static final long serialVersionUID; | ||
static final java.io.ObjectStreamField[] serialPersistentFields; | ||
private void writeObject(java.io.ObjectOutputStream); | ||
private void readObject(java.io.ObjectInputStream); | ||
java.lang.Object writeReplace(); | ||
java.lang.Object readResolve(); | ||
} | ||
|
||
# Your library may contain more items that need to be preserved; | ||
# typically classes that are dynamically created using Class.forName: | ||
|
||
# -keep public class mypackage.MyClass | ||
# -keep public interface mypackage.MyInterface | ||
# -keep public class * implements mypackage.MyInterface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- | ||
Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"). | ||
You may not use this file except in compliance with the License. | ||
A copy of the License is located at | ||
http://aws.amazon.com/apache2.0 | ||
or in the "license" file accompanying this file. This file 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. | ||
--> | ||
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.amplifyframework.auth.cognito" /> |
Oops, something went wrong.