summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-08-31 23:07:20 +0200
committerJules Laplace <julescarbon@gmail.com>2020-08-31 23:07:20 +0200
commit22721a013bdd10d5eb395ba18453585f5f3f1f7f (patch)
tree5a920e31d6026ed5dc55265e5fd057febccc50e3 /StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks
parentd22d51a1ae49680015326857360eb699f31efced (diff)
rebuild the ios platform and the plugins
Diffstat (limited to 'StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks')
-rwxr-xr-xStoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignInbin0 -> 3532688 bytes
-rwxr-xr-xStoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDAuthentication.h65
-rwxr-xr-xStoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDGoogleUser.h39
-rwxr-xr-xStoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDProfileData.h37
-rwxr-xr-xStoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignIn.h170
-rwxr-xr-xStoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignInButton.h53
-rwxr-xr-xStoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GoogleSignIn.h5
-rwxr-xr-xStoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Modules/module.modulemap13
8 files changed, 382 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn
new file mode 100755
index 00000000..12c05067
--- /dev/null
+++ b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn
Binary files differ
diff --git a/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDAuthentication.h b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDAuthentication.h
new file mode 100755
index 00000000..3571c6e8
--- /dev/null
+++ b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDAuthentication.h
@@ -0,0 +1,65 @@
+/*
+ * GIDAuthentication.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2014 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <Foundation/Foundation.h>
+
+@protocol GTMFetcherAuthorizationProtocol;
+@class GIDAuthentication;
+
+/// The callback block that takes a `GIDAuthentication`, or an error if attempt
+/// to refresh was unsuccessful.
+typedef void (^GIDAuthenticationHandler)(GIDAuthentication *authentication, NSError *error);
+
+/// The callback block that takes an access token, or an error if attempt to refresh was
+/// unsuccessful.
+typedef void (^GIDAccessTokenHandler)(NSString *accessToken, NSError *error);
+
+/// This class represents the OAuth 2.0 entities needed for sign-in.
+@interface GIDAuthentication : NSObject <NSSecureCoding>
+
+/// The client ID associated with the authentication.
+@property(nonatomic, readonly) NSString *clientID;
+
+/// The OAuth2 access token to access Google services.
+@property(nonatomic, readonly) NSString *accessToken;
+
+/// The estimated expiration date of the access token.
+@property(nonatomic, readonly) NSDate *accessTokenExpirationDate;
+
+/// The OAuth2 refresh token to exchange for new access tokens.
+@property(nonatomic, readonly) NSString *refreshToken;
+
+/// An OpenID Connect ID token that identifies the user. Send this token to your server to
+/// authenticate the user there. For more information on this topic, see
+/// https://developers.google.com/identity/sign-in/ios/backend-auth
+@property(nonatomic, readonly) NSString *idToken;
+
+/// The estimated expiration date of the ID token.
+@property(nonatomic, readonly) NSDate *idTokenExpirationDate;
+
+/// Gets a new authorizer for `GTLService`, `GTMSessionFetcher`, or `GTMHTTPFetcher`.
+///
+/// @return A new authorizer
+- (id<GTMFetcherAuthorizationProtocol>)fetcherAuthorizer;
+
+/// Get a valid access token and a valid ID token, refreshing them first if they have expired or are
+/// about to expire.
+///
+/// @param handler A callback block that takes a `GIDAuthentication`, or an
+/// error if attempt to refresh was unsuccessful.
+- (void)getTokensWithHandler:(GIDAuthenticationHandler)handler;
+
+/// Refreshes the access token and the ID token using the refresh token.
+///
+/// @param handler A callback block that takes a `GIDAuthentication`, or an
+/// error if attempt to refresh was unsuccessful.
+- (void)refreshTokensWithHandler:(GIDAuthenticationHandler)handler;
+
+@end
diff --git a/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDGoogleUser.h b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDGoogleUser.h
new file mode 100755
index 00000000..17e6e5ea
--- /dev/null
+++ b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDGoogleUser.h
@@ -0,0 +1,39 @@
+/*
+ * GIDGoogleUser.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2014 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <Foundation/Foundation.h>
+
+@class GIDAuthentication;
+@class GIDProfileData;
+
+/// This class represents a user account.
+@interface GIDGoogleUser : NSObject <NSSecureCoding>
+
+/// The Google user ID.
+@property(nonatomic, readonly) NSString *userID;
+
+/// Representation of the Basic profile data. It is only available if
+/// `GIDSignIn.shouldFetchBasicProfile` is set and either `-[GIDSignIn signIn]` or
+/// `-[GIDSignIn restorePreviousSignIn]` has been completed successfully.
+@property(nonatomic, readonly) GIDProfileData *profile;
+
+/// The authentication object for the user.
+@property(nonatomic, readonly) GIDAuthentication *authentication;
+
+/// The API scopes granted to the app in an array of `NSString`.
+@property(nonatomic, readonly) NSArray *grantedScopes;
+
+/// For Google Apps hosted accounts, the domain of the user.
+@property(nonatomic, readonly) NSString *hostedDomain;
+
+/// An OAuth2 authorization code for the home server.
+@property(nonatomic, readonly) NSString *serverAuthCode;
+
+@end
diff --git a/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDProfileData.h b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDProfileData.h
new file mode 100755
index 00000000..f07d4752
--- /dev/null
+++ b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDProfileData.h
@@ -0,0 +1,37 @@
+/*
+ * GIDProfileData.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2014 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <Foundation/Foundation.h>
+
+/// This class represents the basic profile information of a `GIDGoogleUser`.
+@interface GIDProfileData : NSObject <NSCopying, NSSecureCoding>
+
+/// The Google user's email.
+@property(nonatomic, readonly) NSString *email;
+
+/// The Google user's full name.
+@property(nonatomic, readonly) NSString *name;
+
+/// The Google user's given name.
+@property(nonatomic, readonly) NSString *givenName;
+
+/// The Google user's family name.
+@property(nonatomic, readonly) NSString *familyName;
+
+/// Whether or not the user has profile image.
+@property(nonatomic, readonly) BOOL hasImage;
+
+/// Gets the user's profile image URL for the given dimension in pixels for each side of the square.
+///
+/// @param dimension The desired height (and width) of the profile image.
+/// @return The URL of the user's profile image.
+- (NSURL *)imageURLWithDimension:(NSUInteger)dimension;
+
+@end
diff --git a/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignIn.h b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignIn.h
new file mode 100755
index 00000000..12046159
--- /dev/null
+++ b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignIn.h
@@ -0,0 +1,170 @@
+/*
+ * GIDSignIn.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2012 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+@class GIDGoogleUser;
+@class GIDSignIn;
+
+/// The error domain for `NSError`s returned by the Google Identity SDK.
+extern NSString *const kGIDSignInErrorDomain;
+
+/// A list of potential error codes returned from the Google Identity SDK.
+typedef NS_ENUM(NSInteger, GIDSignInErrorCode) {
+ /// Indicates an unknown error has occurred.
+ kGIDSignInErrorCodeUnknown = -1,
+ /// Indicates a problem reading or writing to the application keychain.
+ kGIDSignInErrorCodeKeychain = -2,
+ /// Indicates there are no valid auth tokens in the keychain. This error code will be returned by
+ /// `restorePreviousSignIn` if the user has not signed in before or if they have since signed out.
+ kGIDSignInErrorCodeHasNoAuthInKeychain = -4,
+ /// Indicates the user canceled the sign in request.
+ kGIDSignInErrorCodeCanceled = -5,
+ /// Indicates an Enterprise Mobility Management related error has occurred.
+ kGIDSignInErrorCodeEMM = -6,
+};
+
+/// A protocol implemented by the delegate of `GIDSignIn` to receive a refresh token or an error.
+@protocol GIDSignInDelegate <NSObject>
+
+/// The sign-in flow has finished and was successful if `error` is `nil`.
+- (void)signIn:(GIDSignIn *)signIn
+ didSignInForUser:(GIDGoogleUser *)user
+ withError:(NSError *)error;
+
+@optional
+
+/// Finished disconnecting `user` from the app successfully if `error` is `nil`.
+- (void)signIn:(GIDSignIn *)signIn
+ didDisconnectWithUser:(GIDGoogleUser *)user
+ withError:(NSError *)error;
+
+@end
+
+/// This class signs the user in with Google. It also provides single sign-on via a capable Google
+/// app if one is installed.
+///
+/// For reference, please see "Google Sign-In for iOS" at
+/// https://developers.google.com/identity/sign-in/ios
+///
+/// Here is sample code to use `GIDSignIn`:
+/// 1. Get a reference to the `GIDSignIn` shared instance:
+/// ```
+/// GIDSignIn *signIn = [GIDSignIn sharedInstance];
+/// ```
+/// 2. Call `[signIn setDelegate:self]`;
+/// 3. Set up delegate method `signIn:didSignInForUser:withError:`.
+/// 4. Call `handleURL` on the shared instance from `application:openUrl:...` in your app delegate.
+/// 5. Call `signIn` on the shared instance;
+@interface GIDSignIn : NSObject
+
+/// The authentication object for the current user, or `nil` if there is currently no logged in
+/// user.
+@property(nonatomic, readonly) GIDGoogleUser *currentUser;
+
+/// The object to be notified when authentication is finished.
+@property(nonatomic, weak) id<GIDSignInDelegate> delegate;
+
+/// The view controller used to present `SFSafariViewContoller` on iOS 9 and 10.
+@property(nonatomic, weak) UIViewController *presentingViewController;
+
+/// The client ID of the app from the Google APIs console. Must set for sign-in to work.
+@property(nonatomic, copy) NSString *clientID;
+
+/// The API scopes requested by the app in an array of `NSString`s. The default value is `@[]`.
+///
+/// This property is optional. If you set it, set it before calling `signIn`.
+@property(nonatomic, copy) NSArray *scopes;
+
+/// Whether or not to fetch basic profile data after signing in. The data is saved in the
+/// `GIDGoogleUser.profileData` object.
+///
+/// Setting the flag will add "email" and "profile" to scopes.
+/// Defaults to `YES`.
+@property(nonatomic, assign) BOOL shouldFetchBasicProfile;
+
+/// The language for sign-in, in the form of ISO 639-1 language code optionally followed by a dash
+/// and ISO 3166-1 alpha-2 region code, such as `@"it"` or `@"pt-PT"`. Only set if different from
+/// system default.
+///
+/// This property is optional. If you set it, set it before calling `signIn`.
+@property(nonatomic, copy) NSString *language;
+
+/// The login hint to the authorization server, for example the user's ID, or email address,
+/// to be prefilled if possible.
+///
+/// This property is optional. If you set it, set it before calling `signIn`.
+@property(nonatomic, copy) NSString *loginHint;
+
+/// The client ID of the home web server. This will be returned as the `audience` property of the
+/// OpenID Connect ID token. For more info on the ID token:
+/// https://developers.google.com/identity/sign-in/ios/backend-auth
+///
+/// This property is optional. If you set it, set it before calling `signIn`.
+@property(nonatomic, copy) NSString *serverClientID;
+
+/// The OpenID2 realm of the home web server. This allows Google to include the user's OpenID
+/// Identifier in the OpenID Connect ID token.
+///
+/// This property is optional. If you set it, set it before calling `signIn`.
+@property(nonatomic, copy) NSString *openIDRealm;
+
+/// The Google Apps domain to which users must belong to sign in. To verify, check
+/// `GIDGoogleUser`'s `hostedDomain` property.
+///
+/// This property is optional. If you set it, set it before calling `signIn`.
+@property(nonatomic, copy) NSString *hostedDomain;
+
+/// Returns a shared `GIDSignIn` instance.
++ (GIDSignIn *)sharedInstance;
+
+/// Unavailable. Use `sharedInstance` to instantiate `GIDSignIn`.
++ (instancetype)new NS_UNAVAILABLE;
+
+/// Unavailable. Use `sharedInstance` to instantiate `GIDSignIn`.
+- (instancetype)init NS_UNAVAILABLE;
+
+/// This method should be called from your `UIApplicationDelegate`'s `application:openURL:options`
+/// and `application:openURL:sourceApplication:annotation` method(s).
+///
+/// @param url The URL that was passed to the app.
+/// @return `YES` if `GIDSignIn` handled this URL.
+- (BOOL)handleURL:(NSURL *)url;
+
+/// Checks if there is a previously authenticated user saved in keychain.
+///
+/// @return `YES` if there is a previously authenticated user saved in keychain.
+- (BOOL)hasPreviousSignIn;
+
+/// Attempts to restore a previously authenticated user without interaction.
+
+/// The delegate will be
+/// called at the end of this process indicating success or failure. The current values of
+/// `GIDSignIn`'s configuration properties will not impact the restored user.
+- (void)restorePreviousSignIn;
+
+/// Starts an interactive sign-in flow using `GIDSignIn`'s configuration properties.
+///
+/// The delegate
+/// will be called at the end of this process. Any saved sign-in state will be replaced by the
+/// result of this flow. Note that this method should not be called when the app is starting up,
+/// (e.g in `application:didFinishLaunchingWithOptions:`); instead use the `restorePreviousSignIn`
+/// method to restore a previous sign-in.
+- (void)signIn;
+
+/// Marks current user as being in the signed out state.
+- (void)signOut;
+
+/// Disconnects the current user from the app and revokes previous authentication. If the operation
+/// succeeds, the OAuth 2.0 token is also removed from keychain.
+- (void)disconnect;
+
+@end
diff --git a/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignInButton.h b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignInButton.h
new file mode 100755
index 00000000..795f5698
--- /dev/null
+++ b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignInButton.h
@@ -0,0 +1,53 @@
+/*
+ * GIDSignInButton.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2012 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <UIKit/UIKit.h>
+
+/// The layout styles supported by the `GIDSignInButton`.
+///
+/// The minimum size of the button depends on the language used for text.
+/// The following dimensions (in points) fit for all languages:
+/// - kGIDSignInButtonStyleStandard: 230 x 48
+/// - kGIDSignInButtonStyleWide: 312 x 48
+/// - kGIDSignInButtonStyleIconOnly: 48 x 48 (no text, fixed size)
+typedef NS_ENUM(NSInteger, GIDSignInButtonStyle) {
+ kGIDSignInButtonStyleStandard = 0,
+ kGIDSignInButtonStyleWide = 1,
+ kGIDSignInButtonStyleIconOnly = 2
+};
+
+/// The color schemes supported by the `GIDSignInButton`.
+typedef NS_ENUM(NSInteger, GIDSignInButtonColorScheme) {
+ kGIDSignInButtonColorSchemeDark = 0,
+ kGIDSignInButtonColorSchemeLight = 1
+};
+
+/// This class provides the "Sign in with Google" button.
+///
+/// You can instantiate this class programmatically or from a NIB file. You
+/// should set up the `GIDSignIn` shared instance with your client ID and any
+/// additional scopes, implement the delegate methods for `GIDSignIn`, and add
+/// this button to your view hierarchy.
+@interface GIDSignInButton : UIControl
+
+/// The layout style for the sign-in button.
+/// Possible values:
+/// - kGIDSignInButtonStyleStandard: 230 x 48 (default)
+/// - kGIDSignInButtonStyleWide: 312 x 48
+/// - kGIDSignInButtonStyleIconOnly: 48 x 48 (no text, fixed size)
+@property(nonatomic, assign) GIDSignInButtonStyle style;
+
+/// The color scheme for the sign-in button.
+/// Possible values:
+/// - kGIDSignInButtonColorSchemeDark
+/// - kGIDSignInButtonColorSchemeLight (default)
+@property(nonatomic, assign) GIDSignInButtonColorScheme colorScheme;
+
+@end
diff --git a/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GoogleSignIn.h b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GoogleSignIn.h
new file mode 100755
index 00000000..8ccf7cd2
--- /dev/null
+++ b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GoogleSignIn.h
@@ -0,0 +1,5 @@
+#import "GIDAuthentication.h"
+#import "GIDGoogleUser.h"
+#import "GIDProfileData.h"
+#import "GIDSignIn.h"
+#import "GIDSignInButton.h"
diff --git a/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Modules/module.modulemap b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Modules/module.modulemap
new file mode 100755
index 00000000..421acdc9
--- /dev/null
+++ b/StoneIsland/platforms/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Modules/module.modulemap
@@ -0,0 +1,13 @@
+framework module GoogleSignIn {
+ umbrella header "GoogleSignIn.h"
+ export *
+ module * { export * }
+ link framework "AuthenticationServices"
+ link framework "CoreGraphics"
+ link framework "CoreText"
+ link framework "Foundation"
+ link framework "LocalAuthentication"
+ link framework "SafariServices"
+ link framework "Security"
+ link framework "UIKit"
+}