GCKCredentialsData 類別參考資料
  總覽
類別用於維護應用程式特定憑證資料,以識別使用者並可能進行驗證。
- 開始時間
- 4.4.8
繼承 NSObject。
| 執行個體方法摘要 | |
| (instancetype) | - init | 
| (instancetype) | - initWithCredentials: | 
| 初始化並傳回具有指定憑證的新分配 GCKCredentialsData物件。更多... | |
| (instancetype) | - initWithCredentials:credentialsType: | 
| 初始化並傳回具有指定憑證和憑證類型的新分配 GCKCredentialsData物件。更多... | |
| (NSString *_Nullable) | - credentials | 
| (NSString *_Nullable) | - credentialsType | 
方法詳細資料
| - (instancetype) initWithCredentials: | (NSString *_Nullable) | credentials | 
初始化並傳回具有指定憑證的新分配 GCKCredentialsData 物件。
系統會為 credentialsType 指派「ios」做為預設值,表示該值來自 iOS 傳送者。
- Parameters
- 
  credentials A string to identify and possibly authenticate the user. May be nil.
| - (instancetype) initWithCredentials: | (NSString *_Nullable) | credentials | |
| credentialsType: | (NSString *_Nullable) | credentialsType | |
初始化並傳回具有指定憑證和憑證類型的新分配 GCKCredentialsData 物件。
- 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.