Skip to content

Commit 2438284

Browse files
author
Iain McGinniss
committed
Doc cleanup and more extensive coverage of API entry point
Change-Id: I65b90b97487a6f82489d7a8ec9ec52ab28009154
1 parent afd29f0 commit 2438284

File tree

13 files changed

+130
-11
lines changed

13 files changed

+130
-11
lines changed

auth/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ task checkAllSource(type: Checkstyle) {
4242
include '**/*.java'
4343
classpath = files(project.configurations.compile)
4444
}
45+
46+
javadoc.exclude 'com/firebase/ui/auth/provider/**'
47+
javadoc.exclude 'com/firebase/ui/auth/util/**'
48+
javadoc.exclude 'com/firebase/ui/auth/ui/email/field_validators/**'

auth/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
android:name="com.firebase.ui.auth.ui.idp.IDPSignInContainerActivity" >
3131
</activity>
3232
<activity android:theme="@style/FirebaseUI.Translucent"
33-
android:name="com.firebase.ui.auth.ui.credentials.ChooseAccountActivity" >
33+
android:name=".ui.ChooseAccountActivity" >
3434
</activity>
3535
<activity android:theme="@style/FirebaseUI.Translucent"
3636
android:name="com.facebook.FacebookActivity"

auth/src/main/java/com/firebase/ui/auth/AuthUI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import com.firebase.ui.auth.provider.GoogleProvider;
2727
import com.firebase.ui.auth.provider.IDPProviderParcel;
2828
import com.firebase.ui.auth.ui.FlowParameters;
29-
import com.firebase.ui.auth.ui.credentials.ChooseAccountActivity;
29+
import com.firebase.ui.auth.ui.ChooseAccountActivity;
3030
import com.firebase.ui.auth.util.CredentialsApiHelper;
3131
import com.firebase.ui.auth.util.Preconditions;
3232
import com.google.android.gms.common.api.Status;

auth/src/main/java/com/firebase/ui/auth/package-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
*/
1414

1515
/**
16-
* TODO: javadoc
16+
* The Firebase AuthUI library. See the {@link com.firebase.ui.auth.AuthUI} entry class
17+
* for information on using the library to manage signed-in user state.
1718
*/
1819
package com.firebase.ui.auth;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright 2016 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5+
* in compliance with the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
/**
16+
* IDP-specific interactions for signing in users. The contents of this package should
17+
* be considered an implementation detail and not part of the main API.
18+
*/
19+
package com.firebase.ui.auth.provider;

auth/src/main/java/com/firebase/ui/auth/ui/credentials/ChooseAccountActivity.java renamed to auth/src/main/java/com/firebase/ui/auth/ui/ChooseAccountActivity.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* limitations under the License.
1313
*/
1414

15-
package com.firebase.ui.auth.ui.credentials;
15+
package com.firebase.ui.auth.ui;
1616

1717
import android.app.Activity;
1818
import android.content.Context;
@@ -23,11 +23,7 @@
2323

2424
import com.firebase.ui.auth.BuildConfig;
2525
import com.firebase.ui.auth.provider.IDPProviderParcel;
26-
import com.firebase.ui.auth.ui.ActivityBase;
27-
import com.firebase.ui.auth.ui.ActivityHelper;
28-
import com.firebase.ui.auth.ui.FlowParameters;
2926
import com.firebase.ui.auth.ui.email.EmailHintContainerActivity;
30-
import com.firebase.ui.auth.ui.email.SignInNoPasswordActivity;
3127
import com.firebase.ui.auth.ui.idp.AuthMethodPickerActivity;
3228
import com.firebase.ui.auth.ui.idp.IDPSignInContainerActivity;
3329
import com.firebase.ui.auth.util.CredentialsAPI;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright 2016 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5+
* in compliance with the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
/**
16+
* Activities related to linking a new authentication method to an existing account.
17+
*/
18+
package com.firebase.ui.auth.ui.account_link;
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright 2016 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5+
* in compliance with the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
/**
16+
* Contains utility classes for validating {@link android.widget.EditText} field contents.
17+
* The contents of this package should be considered an implementation detail and not part of
18+
* the main API.
19+
*/
20+
package com.firebase.ui.auth.ui.email.field_validators;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright 2016 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5+
* in compliance with the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
/**
16+
* Activities related to the email and password based authentication.
17+
*/
18+
package com.firebase.ui.auth.ui.email;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright 2016 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5+
* in compliance with the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
/**
16+
* Activites related to identity provider authentication.
17+
*/
18+
package com.firebase.ui.auth.ui.idp;

0 commit comments

Comments
 (0)