@Structure.FieldOrder(value="unused")
public class AuthResult
extends com.sun.jna.Structure
This AuthResult class is intended to be easily translated to MSAL Java's AuthenticationResult class, but AuthResult should never be required to map directly to an AuthenticationResult or vice-versa
An internal AuthResultCallback class contains a callback method, which MSALRuntime will call when a result is ready to be parsed
| Modifier and Type | Field and Description |
|---|---|
int |
unused |
| Constructor and Description |
|---|
AuthResult(AuthResultHandle authResultHandle) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken() |
long |
getAccessTokenExpirationTime() |
Account |
getAccount() |
String |
getAuthorizationHeader()
Returns the authorization header, used to retrieve a proof-of-possession token
|
String |
getIdToken() |
boolean |
isPopAuthorization()
Returns true if this authResult represents a proof-of-possession authorization
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic AuthResult(AuthResultHandle authResultHandle)
public String getIdToken()
public String getAccessToken()
public long getAccessTokenExpirationTime()
public Account getAccount()
public String getAuthorizationHeader()
public boolean isPopAuthorization()
Copyright © 2023. All rights reserved.