Method | Description | |
---|---|---|
Authenticate ( ) : Task |
try logging in, or show sign-in page and ask for rights
|
|
GetInstance ( ) : |
Singleton
|
|
GetNumberOfEmailsSent ( DateTimeOffset date ) : Task |
Returns a list of emails which were sent on a given date
|
|
GetNumberOfUnreadEmailsInInbox ( ) : Task |
Returns the number of unread emails currently in the inbox
|
|
GetNumberOfUnreadEmailsReceived ( DateTimeOffset date ) : Task |
Returns a list of emails which were received on a given date AND are unread (and not in junk or delete folder)
|
|
GetPhotoForUser ( string email ) : Task |
||
GetTotalNumberOfEmailsInInbox ( ) : Task |
Returns the total number of emails currently in the inbox (read and unread)
|
|
GetTotalNumberOfEmailsReceived ( DateTimeOffset date ) : Task |
Returns a list of emails which were received on a given date (and not in junk or delete folder)
|
|
IsAuthenticated ( ) : bool |
Returns true if the user is already authenticated with Office 365
|
|
LoadMeetings ( DateTimeOffset date ) : Task
|
||
SignOut ( ) : void |
clear the ADAL token cache It's also necessary to clear the cookies from the browser' control so the next user has a chance to sign in.
|
Method | Description | |
---|---|---|
ClearCookies ( ) : void |
This function clears cookies from the browser control used by ADAL.
|
|
GetDeleteAndJunkFolderIds ( ) : Task |
Loads a list of folders to find the Ids of the junk and deleted items folders to filter them
|
|
InternetGetConnectedState ( int &description, int reservedValue ) : bool | ||
IsInternetAvailable ( ) : bool | ||
Office365Api ( ) : System | ||
SignIn ( ) : Task |
force ADAL to prompt the user for credentials by specifying PromptBehavior.Always. ADAL will get a token and cache it
|
|
TrySilentAuthentication ( ) : Task |
This method is called from a method if the user is not properly signed in yet and to check if the user can be authenticated (also checks for an active internet connection)
|
public GetNumberOfEmailsSent ( DateTimeOffset date ) : Task |
||
date | DateTimeOffset | |
return | Task |
public GetNumberOfUnreadEmailsInInbox ( ) : Task |
||
return | Task |
public GetNumberOfUnreadEmailsReceived ( DateTimeOffset date ) : Task |
||
date | DateTimeOffset | |
return | Task |
public GetPhotoForUser ( string email ) : Task |
||
string | ||
return | Task |
public GetTotalNumberOfEmailsInInbox ( ) : Task |
||
return | Task |
public GetTotalNumberOfEmailsReceived ( DateTimeOffset date ) : Task |
||
date | DateTimeOffset | |
return | Task |
public LoadMeetings ( DateTimeOffset date ) : Task
|
||
date | DateTimeOffset | |
return | Task
|