Mobile API Reference  MicroStrategy 2019
MSICredentials Class Reference

#import <MSICredentials.h>

Inheritance diagram for MSICredentials:
<MSISerializable> MSIProjectCredentials WebServerCredentials

Instance Methods

(id) - initWithAuthMode:
 
- Instance Methods inherited from <MSISerializable>
(void) - loadFromXML:elementName:attributes:support:context:
 
(void) - buildXML:
 

Protected Attributes

NSInteger authMode
 
NSString * login
 
NSString * password
 
NSString * hashValue
 
NSTimeInterval passwordStartTime
 
BOOL changedByUser
 
__weak MSIDevicePreferencesparent
 

Detailed Description

Credentials class represents login, password and other related information used for authentication.

Method Documentation

◆ initWithAuthMode:()

- (id) initWithAuthMode: (NSInteger)  anAuthMode

Initializer with a default authentication mode

Parameters
anAuthModeauthentication mode
Returns
a new Credentials object
See also
Enums for the options
AuthModes

Member Data Documentation

◆ authMode

- (NSInteger) authMode
readwritenonatomicassignprotected

Use this property to get or set authentication mode used to connecting to web server or I-server.

See also
Enums for the options
AuthModes

◆ changedByUser

- (BOOL) changedByUser
protected

◆ hashValue

- (NSString*) hashValue
protected

◆ login

- (NSString *) login
readwritenonatomiccopyprotected

Use this property to get or set the login username.

◆ parent

- (__weak MSIDevicePreferences*) parent
protected

◆ password

- (NSString *) password
readwritenonatomiccopyprotected

Use this property to get ot set password.

◆ passwordStartTime

- (NSTimeInterval) passwordStartTime
protected