aerogear-xamarin-sdk
AeroGear Xamarin SDK
AeroGear.Mobile.Auth.Credentials.CredentialManager Class Reference

A class to persist/remove the credential data on a device. More...

Inheritance diagram for AeroGear.Mobile.Auth.Credentials.CredentialManager:
AeroGear.Mobile.Auth.Credentials.ICredentialManager

Public Member Functions

 CredentialManager (IUserPreferences userPreferences)
 Create a new instance of T:AeroGear.Mobile.Auth.Credentials.CredentialManager using the provided storage manager. More...
 
void Clear ()
 Clear the credential. More...
 
string LoadSerialized ()
 Load the serialized string representation of the credential. More...
 
void Store (ICredential credential)
 Store the specified credential. More...
 

Detailed Description

A class to persist/remove the credential data on a device.

Constructor & Destructor Documentation

◆ CredentialManager()

AeroGear.Mobile.Auth.Credentials.CredentialManager.CredentialManager ( IUserPreferences  userPreferences)

Create a new instance of T:AeroGear.Mobile.Auth.Credentials.CredentialManager using the provided storage manager.

Parameters
storageManagerStorage manager.

Member Function Documentation

◆ Clear()

void AeroGear.Mobile.Auth.Credentials.CredentialManager.Clear ( )

Clear the credential.

Implements AeroGear.Mobile.Auth.Credentials.ICredentialManager.

◆ LoadSerialized()

string AeroGear.Mobile.Auth.Credentials.CredentialManager.LoadSerialized ( )

Load the serialized string representation of the credential.

Returns
The serialized credential.

Implements AeroGear.Mobile.Auth.Credentials.ICredentialManager.

◆ Store()

void AeroGear.Mobile.Auth.Credentials.CredentialManager.Store ( ICredential  credential)

Store the specified credential.

Parameters
credentialThe credential to store.

Implements AeroGear.Mobile.Auth.Credentials.ICredentialManager.


The documentation for this class was generated from the following file: