共用方式為


PublicClientApplicationBuilder.WithIosKeychainSecurityGroup(String) Method

Definition

You can specify a Keychain Access Group to use for persisting the token cache across multiple applications. This enables you to share the token cache between several applications having the same Keychain access group. Sharing the token cache allows single sign-on between all of the applications that use the same Keychain access Group. See https://aka.ms/msal-net-ios-keychain-security-group for more information.

public Microsoft.Identity.Client.PublicClientApplicationBuilder WithIosKeychainSecurityGroup (string keychainSecurityGroup);
member this.WithIosKeychainSecurityGroup : string -> Microsoft.Identity.Client.PublicClientApplicationBuilder
Public Function WithIosKeychainSecurityGroup (keychainSecurityGroup As String) As PublicClientApplicationBuilder

Parameters

keychainSecurityGroup
String

Returns

A PublicClientApplicationBuilder from which to set more parameters, and to create a public client application instance

Applies to