| Package | com.distriqt.extension.applesignin |
| Class | public final class AppleSignIn |
| Inheritance | AppleSignIn flash.events.EventDispatcher |
This class represents the AppleSignIn extension.
| Property | Defined By | ||
|---|---|---|---|
| implementation : String [read-only]
The implementation currently in use. | AppleSignIn | ||
| instance : AppleSignIn [static] [read-only]
The singleton instance of the AppleSignIn class. | AppleSignIn | ||
| isSupported : Boolean [static] [read-only]
Whether the current device supports the extensions functionality
| AppleSignIn | ||
| nativeVersion : String [read-only]
The native version string of the native extension. | AppleSignIn | ||
| service : AppleSignIn [static] [read-only]
The singleton instance of the AppleSignIn class. | AppleSignIn | ||
| version : String [read-only]
The version of this extension. | AppleSignIn | ||
| Method | Defined By | ||
|---|---|---|---|
Constructor
You should not call this directly, but instead use the singleton access
| AppleSignIn | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void [override] | AppleSignIn | ||
dispose():void
Disposes the extension and releases any allocated resources. | AppleSignIn | ||
getCredentialStateForUser(userId:String):void | AppleSignIn | ||
loginWithAppleId(options:AppleSignInOptions = null):void | AppleSignIn | ||
| Constant | Defined By | ||
|---|---|---|---|
| EXT_CONTEXT_ID : String = com.distriqt.AppleSignIn [static] | AppleSignIn | ||
| VERSION : String = 2.3.0 [static] | AppleSignIn | ||
| implementation | property |
implementation:String [read-only]
The implementation currently in use. This should be one of the following depending on the platform in use and the functionality supported by this extension:
AndroidiOSdefaultunknown public function get implementation():String| instance | property |
instance:AppleSignIn [read-only] The singleton instance of the AppleSignIn class.
public static function get instance():AppleSignInError — If there was a problem creating or accessing the extension, or if the key is invalid
|
| isSupported | property |
isSupported:Boolean [read-only] Whether the current device supports the extensions functionality
public static function get isSupported():Boolean| nativeVersion | property |
nativeVersion:String [read-only]
The native version string of the native extension.
public function get nativeVersion():String| service | property |
service:AppleSignIn [read-only] The singleton instance of the AppleSignIn class.
public static function get service():AppleSignInError — If there was a problem creating or accessing the extension, or if the key is invalid
|
| version | property |
version:String [read-only]
The version of this extension.
This should be of the format, MAJOR.MINOR.BUILD
public function get version():String| AppleSignIn | () | Constructor |
public function AppleSignIn()Constructor You should not call this directly, but instead use the singleton access
| addEventListener | () | method |
override public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false) | |
priority:int (default = 0) | |
useWeakReference:Boolean (default = false) |
| dispose | () | method |
public function dispose():void
Disposes the extension and releases any allocated resources. Once this function
has been called, a call to init is neccesary again before any of the
extensions functionality will work.
| getCredentialStateForUser | () | method |
public function getCredentialStateForUser(userId:String):void
Parameters
userId:String — Opaque user identifier that will be checked for state
|
| loginWithAppleId | () | method |
public function loginWithAppleId(options:AppleSignInOptions = null):voidParameters
options:AppleSignInOptions (default = null) |
| EXT_CONTEXT_ID | Constant |
public static const EXT_CONTEXT_ID:String = com.distriqt.AppleSignIn| VERSION | Constant |
public static const VERSION:String = 2.3.0