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.