AI-generated Key Takeaways
-
GCKCredentialsData is a class used to maintain application-specific credentials for user identification and authentication.
-
The class provides methods to initialize an object with credentials, or with both credentials and a credentials type.
-
By default, the credentials type is set to "ios" when only credentials are provided.
-
The credentials and credentials type properties can be accessed to retrieve the stored information.
Overview
A class to maintain the application specific credentials data to identify and possibly authenticates the user.
- Since
- 4.4.8
Inherits NSObject.
GCKCredentialsData
object with the specified credentials. More...
GCKCredentialsData
object with the specified credentials and credentials type. More...
Method Detail
| - (instancetype) initWithCredentials: | (NSString *_Nullable) | credentials |
Initializes and returns a newly allocated GCKCredentialsData
object with the specified credentials.
The credentialsType
is assigned "ios" as default value to indicate it comes from an iOS sender.
- Parameters
- credentialsA string to identify and possibly authenticate the user. May be
nil.
| - (instancetype) initWithCredentials: | (NSString *_Nullable) | credentials | |
| credentialsType: | (NSString *_Nullable) | credentialsType | |
Initializes and returns a newly allocated GCKCredentialsData
object with the specified credentials and credentials type.
- Parameters
-
credentials A string to identify and possibly authenticate the user. May be nil.credentialsType A string to identify the type of the credentials. May be nil.

