aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Auth/FSTCredentialsProvider.h
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2017-11-30 09:10:58 -0800
committerGravatar GitHub <noreply@github.com>2017-11-30 09:10:58 -0800
commit81d2f97b2e34d9124667924df2d9365f5a31d2ae (patch)
treecd8e8fbb229a52cfbf688fb4c0f6506b7b1504e1 /Firestore/Source/Auth/FSTCredentialsProvider.h
parent123ce4cdea12140a5e6aa75de5627fc1dfc7e787 (diff)
Allow clang-format to find Firestore/Source/Auth (#508)
* Avoid pruning paths with find find . -path foo -path bar -path baz is horrifically inefficient; properly excluding all of FirebaseAuth without excluding Firestore/Source/Auth ends up taking 1.5 minutes on my machine. Deleting via sed is much faster. * Allow a branch name or filenames to be specified on the command line e.g. ./scripts/style.sh master formats only files changed since master. * Format Firebase/Source/Auth code * Use alternate delimeter for path regexen
Diffstat (limited to 'Firestore/Source/Auth/FSTCredentialsProvider.h')
-rw-r--r--Firestore/Source/Auth/FSTCredentialsProvider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Firestore/Source/Auth/FSTCredentialsProvider.h b/Firestore/Source/Auth/FSTCredentialsProvider.h
index eb591ab..92d5fdc 100644
--- a/Firestore/Source/Auth/FSTCredentialsProvider.h
+++ b/Firestore/Source/Auth/FSTCredentialsProvider.h
@@ -66,7 +66,7 @@ typedef void (^FSTVoidUserBlock)(FSTUser *user);
#pragma mark - FSTCredentialsProvider
/** Provides methods for getting the uid and token for the current user and listen for changes. */
-@protocol FSTCredentialsProvider<NSObject>
+@protocol FSTCredentialsProvider <NSObject>
/** Requests token for the current user, optionally forcing a refreshed token to be fetched. */
- (void)getTokenForcingRefresh:(BOOL)forceRefresh completion:(FSTVoidGetTokenResultBlock)completion;
@@ -95,7 +95,7 @@ typedef void (^FSTVoidUserBlock)(FSTUser *user);
* backing our internal worker queue and the callbacks from FIRAuth will be executed on an
* arbitrary different thread.
*/
-@interface FSTFirebaseCredentialsProvider : NSObject<FSTCredentialsProvider>
+@interface FSTFirebaseCredentialsProvider : NSObject <FSTCredentialsProvider>
/**
* Initializes a new FSTFirebaseCredentialsProvider.