TokenProvider.Outlook

Inheritance: java.lang.Object

public static class TokenProvider.Outlook

Provides an instance of the TokenProvider for Outlook mail server

Constructors

ConstructorDescription
Outlook()

Methods

MethodDescription
equals(Object arg0)
getClass()
getInstance(String clientId, String clientSecret, String refreshToken)Gets an instance of the TokenProvider for Outlook mail server
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Outlook()

public Outlook()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getInstance(String clientId, String clientSecret, String refreshToken)

public static TokenProvider getInstance(String clientId, String clientSecret, String refreshToken)

Gets an instance of the TokenProvider for Outlook mail server

Parameters:

ParameterTypeDescription
clientIdjava.lang.StringThe client ID obtained from the Microsoft account Developer Center during application registration.
clientSecretjava.lang.StringThe client secret obtained during application registration.
refreshTokenjava.lang.StringOAuth 2.0 refresh token

Returns: TokenProvider - Returns an instance of the OutlookTokenProvider for defined parameters.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int