GCKCredentialsData 클래스
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
사용자를 식별하고 인증할 수 있는 애플리케이션 관련 사용자 인증 정보 데이터를 유지관리하는 클래스입니다.
- 다음 이후:
- 4.4.8
NSObject를 상속합니다.
- (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 . |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-02(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2023-12-02(UTC)"],[[["`GCKCredentialsData` stores application-specific credentials to identify and potentially authenticate users."],["It provides methods to initialize with credentials and a credentials type (defaulting to \"ios\" if not specified)."],["The `credentials` and `credentialsType` properties can be accessed to retrieve the stored values."],["This class is available since Google Cast SDK v4.4.8."]]],["The `GCKCredentialsData` class manages application-specific user credentials. Key actions include initializing the class instance via `-init`, `-initWithCredentials:` or `-initWithCredentials:credentialsType:`. Initialization allows setting credentials, a string for user identification and possible authentication, and optionally, `credentialsType`, identifying the credential type. The default `credentialsType` is \"ios\". The class also has read only methods `credentials` and `credentialsType` to retrieve those stored data.\n"]]