GCKCredentialsData Class

GCKCredentialsData Class Reference

Overview

A class to maintain the application specific credentials data to identify and possibly authenticates the user.

Inherits NSObject.

Instance Method Summary

(nullable instancetype) - init
 
(nullable instancetype) - initWithCredentials:
 Initializes and returns a newly allocated GCKCredentialsData object with the specified credentials. More...
 
(nullable instancetype) - initWithCredentials:credentialsType:
 Initializes and returns a newly allocated GCKCredentialsData object with the specified credentials and credentials type. More...
 
(NSString *_Nullable) - credentials
 
(NSString *_Nullable) - credentialsType
 

Method Detail

- (nullable 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.
- (nullable 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
credentialsA string to identify and possibly authenticate the user. May be nil.
credentialsTypeA string to identify the type of the credentials. May be nil.