Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
senthilkumar-1398 committed Feb 18, 2022
1 parent dd680b6 commit fa89d8b
Show file tree
Hide file tree
Showing 9 changed files with 387 additions and 25 deletions.
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
}

android {
Expand Down Expand Up @@ -32,7 +33,10 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'com.google.firebase:firebase-database:20.0.3'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation "androidmads.library.qrgenearator:QRGenearator:1.0.3"

}
114 changes: 114 additions & 0 deletions app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"project_info": {
"project_number": "187896902330",
"firebase_url": "https://authenticator-72be5-default-rtdb.firebaseio.com",
"project_id": "authenticator-72be5",
"storage_bucket": "authenticator-72be5.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:187896902330:android:d0fb18ce4c725cf4550883",
"android_client_info": {
"package_name": "com.example.random_no"
}
},
"oauth_client": [
{
"client_id": "187896902330-mki9n9r2pkab2s7gdt4mo30nmlnmgfqr.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.example.random_no",
"certificate_hash": "dbd67a08fc4abd5c173fcf0ac1c14b168caf6ad9"
}
},
{
"client_id": "187896902330-4atg67qd7cti36hcasou54j5q0fgve1t.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBAq2brhljD6WJVhmJC-QnlALsEo5VfotI"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "187896902330-4atg67qd7cti36hcasou54j5q0fgve1t.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:187896902330:android:92b5933513c8c6b5550883",
"android_client_info": {
"package_name": "com.example.two_fact_auth"
}
},
"oauth_client": [
{
"client_id": "187896902330-4atg67qd7cti36hcasou54j5q0fgve1t.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBAq2brhljD6WJVhmJC-QnlALsEo5VfotI"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "187896902330-4atg67qd7cti36hcasou54j5q0fgve1t.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:187896902330:android:a9b97778b1cae551550883",
"android_client_info": {
"package_name": "com.example.two_factor_authentication"
}
},
"oauth_client": [
{
"client_id": "187896902330-7husnt6gaoovn7l4n2kohf6s1jil88c8.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.example.two_factor_authentication",
"certificate_hash": "dbd67a08fc4abd5c173fcf0ac1c14b168caf6ad9"
}
},
{
"client_id": "187896902330-4atg67qd7cti36hcasou54j5q0fgve1t.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBAq2brhljD6WJVhmJC-QnlALsEo5VfotI"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "187896902330-4atg67qd7cti36hcasou54j5q0fgve1t.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
12 changes: 1 addition & 11 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Two_fact_auth">
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
android:theme="@style/Theme.Two_fact_auth"></application>

</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
package com.example.two_fact_auth;

public class AuthenticationInfoModel {
public int status;
public String uniqueNo;
public int autoGenCode;

public AuthenticationInfoModel() {
}

public int getStatus() {
return status;
}

public void setStatus(int status) {
this.status = status;
}

public String getUniqueNo() {
return uniqueNo;
}

public void setUniqueNo(String uniqueNo) {
this.uniqueNo = uniqueNo;
}

public int getAutoGenCode() {
return autoGenCode;
}

public void setAutoGenCode(int autoGenCode) {
this.autoGenCode = autoGenCode;
}

}
14 changes: 0 additions & 14 deletions app/src/main/java/com/example/two_fact_auth/MainActivity.java

This file was deleted.

Loading

0 comments on commit fa89d8b

Please sign in to comment.