Bearbeiten

Freigeben über


NSUrlCredential.FromUserPasswordPersistance Method

Definition

Creates an NSUrlCredential from username and password.

[Foundation.Export("credentialWithUser:password:persistence:")]
public static Foundation.NSUrlCredential FromUserPasswordPersistance (string user, string password, Foundation.NSUrlCredentialPersistence persistence);
static member FromUserPasswordPersistance : string * string * Foundation.NSUrlCredentialPersistence -> Foundation.NSUrlCredential

Parameters

user
String

User for the credential.

password
String

Password for the credential.

persistence
NSUrlCredentialPersistence

Specifies how long the credential should be kept.

Returns

Attributes

Applies to