Skip to content

Commit d910c29

Browse files
committed
update javadocs
1 parent a89cdbc commit d910c29

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/src/main/java/com/amplifyframework/auth/options/AuthWebUISignInOptions.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public class AuthWebUISignInOptions {
3636
* Advanced options for signing in with a hosted web UI.
3737
* @param scopes specify OAUTH scopes
3838
* @param preferPrivateSession specifying whether or not to launch web ui in an ephemeral CustomTab.
39+
* Default value is unset (null), which behaves the same as false.
3940
*/
4041
protected AuthWebUISignInOptions(List<String> scopes, Boolean preferPrivateSession) {
4142
this.scopes = scopes;
@@ -54,6 +55,7 @@ public List<String> getScopes() {
5455
/**
5556
* Optional override to prefer launching in an Ephemeral CustomTab, if available.
5657
* @return optional override to prefer launching in an Ephemeral CustomTab, if available.
58+
* Default value is unset (null), which behaves the same as false.
5759
*/
5860
@Nullable
5961
public Boolean getPreferPrivateSession() {
@@ -142,6 +144,7 @@ public List<String> getScopes() {
142144
/**
143145
* Optional override to prefer launching in an Ephemeral CustomTab, if available.
144146
* @return optional override to prefer launching in an Ephemeral CustomTab, if available.
147+
* Default value is unset (null), which behaves the same as false.
145148
*/
146149
@Nullable
147150
public Boolean getPreferPrivateSession() {
@@ -165,7 +168,7 @@ public T scopes(@NonNull List<String> scopes) {
165168
* This can optionally be set to prefer launching in an Ephemeral CustomTab, if available.
166169
*
167170
* @param preferPrivateSession Boolean specifying whether or not to launch web ui in an
168-
* ephemeral CustomTab.
171+
* ephemeral CustomTab. Default value is unset (null), which behaves the same as false.
169172
* @return the instance of the builder.
170173
*/
171174
public T preferPrivateSession(@NonNull Boolean preferPrivateSession) {

0 commit comments

Comments
 (0)