|
|
@@ -201,7 +201,7 @@ extension Auth: AuthInterop {
|
|
|
/// Contains shareAuthStateAcrossDevices setting related to the auth object.
|
|
|
///
|
|
|
/// If userAccessGroup is not set, setting shareAuthStateAcrossDevices will
|
|
|
- /// have no effect. You should set shareAuthStateAcrossDevices to it's desired
|
|
|
+ /// have no effect. You should set shareAuthStateAcrossDevices to its desired
|
|
|
/// state and then set the userAccessGroup after.
|
|
|
@objc open var shareAuthStateAcrossDevices: Bool = false
|
|
|
|
|
|
@@ -1329,7 +1329,7 @@ extension Auth: AuthInterop {
|
|
|
/// * A user with a different UID from the current user has signed in, or
|
|
|
/// * The current user has signed out.
|
|
|
///
|
|
|
- /// The block is invoked immediately after adding it according to it's standard invocation
|
|
|
+ /// The block is invoked immediately after adding it according to its standard invocation
|
|
|
/// semantics, asynchronously on the main thread. Users should pay special attention to
|
|
|
/// making sure the block does not inadvertently retain objects which should not be retained by
|
|
|
/// the long-lived block. The block itself will be retained by `Auth` until it is
|
|
|
@@ -1370,7 +1370,7 @@ extension Auth: AuthInterop {
|
|
|
/// * The ID token of the current user has been refreshed, or
|
|
|
/// * The current user has signed out.
|
|
|
///
|
|
|
- /// The block is invoked immediately after adding it according to it's standard invocation
|
|
|
+ /// The block is invoked immediately after adding it according to its standard invocation
|
|
|
/// semantics, asynchronously on the main thread. Users should pay special attention to
|
|
|
/// making sure the block does not inadvertently retain objects which should not be retained by
|
|
|
/// the long-lived block. The block itself will be retained by `Auth` until it is
|
|
|
@@ -1838,7 +1838,7 @@ extension Auth: AuthInterop {
|
|
|
|
|
|
// MARK: Private methods
|
|
|
|
|
|
- /// Posts the auth state change notificaton if current user's token has been changed.
|
|
|
+ /// Posts the auth state change notification if current user's token has been changed.
|
|
|
private func possiblyPostAuthStateChangeNotification() {
|
|
|
let token = currentUser?.rawAccessToken()
|
|
|
if lastNotifiedUserToken == token ||
|