NSUrlCredential.FromUserPasswordPersistance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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