public static unsafe bool IsKnownAuthority(global::Com.Microsoft.Identity.Common.Internal.Authorities.Authority authority) { const string __id = "isKnownAuthority.(Lcom/microsoft/identity/common/internal/authorities/Authority;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((authority == null) ? IntPtr.Zero : ((global::Java.Lang.Object)authority).Handle); var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args); return(__rm); } finally { global::System.GC.KeepAlive(authority); } }
public static unsafe global::System.Collections.Generic.IList <global::Com.Microsoft.Identity.Common.Internal.Controllers.BaseController> GetAllControllers(global::Android.Content.Context applicationContext, global::Com.Microsoft.Identity.Common.Internal.Authorities.Authority authority, global::Com.Microsoft.Identity.Client.PublicClientApplicationConfiguration applicationConfiguration) { const string __id = "getAllControllers.(Landroid/content/Context;Lcom/microsoft/identity/common/internal/authorities/Authority;Lcom/microsoft/identity/client/PublicClientApplicationConfiguration;)Ljava/util/List;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((applicationContext == null) ? IntPtr.Zero : ((global::Java.Lang.Object)applicationContext).Handle); __args [1] = new JniArgumentValue((authority == null) ? IntPtr.Zero : ((global::Java.Lang.Object)authority).Handle); __args [2] = new JniArgumentValue((applicationConfiguration == null) ? IntPtr.Zero : ((global::Java.Lang.Object)applicationConfiguration).Handle); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return(global::Android.Runtime.JavaList <global::Com.Microsoft.Identity.Common.Internal.Controllers.BaseController> .FromJniHandle(__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { global::System.GC.KeepAlive(applicationContext); global::System.GC.KeepAlive(authority); global::System.GC.KeepAlive(applicationConfiguration); } }
public static unsafe global::Com.Microsoft.Identity.Common.Internal.Authorities.Authority.KnownAuthorityResult GetKnownAuthorityResult(global::Com.Microsoft.Identity.Common.Internal.Authorities.Authority authority) { const string __id = "getKnownAuthorityResult.(Lcom/microsoft/identity/common/internal/authorities/Authority;)Lcom/microsoft/identity/common/internal/authorities/Authority$KnownAuthorityResult;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((authority == null) ? IntPtr.Zero : ((global::Java.Lang.Object)authority).Handle); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return(global::Java.Lang.Object.GetObject <global::Com.Microsoft.Identity.Common.Internal.Authorities.Authority.KnownAuthorityResult> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { global::System.GC.KeepAlive(authority); } }
public static unsafe bool BrokerEligible(global::Android.Content.Context applicationContext, global::Com.Microsoft.Identity.Common.Internal.Authorities.Authority authority, global::Com.Microsoft.Identity.Client.PublicClientApplicationConfiguration applicationConfiguration) { const string __id = "brokerEligible.(Landroid/content/Context;Lcom/microsoft/identity/common/internal/authorities/Authority;Lcom/microsoft/identity/client/PublicClientApplicationConfiguration;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((applicationContext == null) ? IntPtr.Zero : ((global::Java.Lang.Object)applicationContext).Handle); __args [1] = new JniArgumentValue((authority == null) ? IntPtr.Zero : ((global::Java.Lang.Object)authority).Handle); __args [2] = new JniArgumentValue((applicationConfiguration == null) ? IntPtr.Zero : ((global::Java.Lang.Object)applicationConfiguration).Handle); var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args); return(__rm); } finally { global::System.GC.KeepAlive(applicationContext); global::System.GC.KeepAlive(authority); global::System.GC.KeepAlive(applicationConfiguration); } }