Package apple.authenticationservices.c
Class AuthenticationServices
- java.lang.Object
-
- apple.authenticationservices.c.AuthenticationServices
-
public final class AuthenticationServices extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longASCOSEAlgorithmIdentifierES256The COSE algorithm identifier representing ECDSA with SHA-256.static longASCOSEEllipticCurveIdentifierP256The COSE curve identifier representing the P-256 elliptic curve.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull NSArray<java.lang.String>ASAuthorizationAllSupportedPublicKeyCredentialDescriptorTransports()Returns a list of all transports the device currently supports for communicating with an authenticator.static @NotNull java.lang.StringASAuthorizationAppleIDProviderCredentialRevokedNotification()API-Since: 13.0static @NotNull java.lang.StringASAuthorizationErrorDomain()API-Since: 13.0static @NotNull java.lang.StringASAuthorizationOperationImplicit()API-Since: 13.0static @NotNull java.lang.StringASAuthorizationOperationLogin()API-Since: 13.0static @NotNull java.lang.StringASAuthorizationOperationLogout()API-Since: 13.0static @NotNull java.lang.StringASAuthorizationOperationRefresh()API-Since: 13.0static @NotNull java.lang.StringASAuthorizationProviderAuthorizationOperationConfigurationRemoved()Operation which is invoked when the extension configuration is removed from the system.static @NotNull java.lang.StringASAuthorizationProviderAuthorizationOperationDirectRequest()Operation which is invoked when a request is sent direct to the extension instead of loaded in an ASWebAuthenticationSession.static java.lang.StringASAuthorizationPublicKeyCredentialAttestationKindDirect()Indicates that the authenticator should perform attestation itself.static java.lang.StringASAuthorizationPublicKeyCredentialAttestationKindEnterprise()Indicates that the authenticator should perform an attestation which may include information that uniquely identifies that authenticator.static java.lang.StringASAuthorizationPublicKeyCredentialAttestationKindIndirect()Indicates that the authenticator may use an external service to perform attestation.static java.lang.StringASAuthorizationPublicKeyCredentialAttestationKindNone()Indicates that the authenticator should not perform attestation.static java.lang.StringASAuthorizationPublicKeyCredentialResidentKeyPreferenceDiscouraged()Indicates that the authenticator should not store the private key, if possible.static java.lang.StringASAuthorizationPublicKeyCredentialResidentKeyPreferencePreferred()Indicates that the authenticator should store the private key, if possible.static java.lang.StringASAuthorizationPublicKeyCredentialResidentKeyPreferenceRequired()Indicates that the authenticator must store the private key, and that key creation should fail if the authenticator is not currently capable of storing the key.static java.lang.StringASAuthorizationPublicKeyCredentialUserVerificationPreferenceDiscouraged()Indicates that the authenticator should prefer _not_ verifying the user, if possible.static java.lang.StringASAuthorizationPublicKeyCredentialUserVerificationPreferencePreferred()Indicates that the authenticator should try to verify the user if possible, but authentication should proceed even if user verification is not currently available.static java.lang.StringASAuthorizationPublicKeyCredentialUserVerificationPreferenceRequired()Indicates that the authenticator must attempt to verify the user.static @NotNull java.lang.StringASAuthorizationScopeEmail()API-Since: 13.0static @NotNull java.lang.StringASAuthorizationScopeFullName()API-Since: 13.0static @NotNull java.lang.StringASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportBluetooth()Indicates using Bluetooth, including BLE, to communicate with an authenticator.static @NotNull java.lang.StringASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportNFC()Indiciates using NFC to communicate with an authenticator.static @NotNull java.lang.StringASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportUSB()Indicates using USB or Lightning to communicate with an authenticator.static @NotNull java.lang.StringASCredentialIdentityStoreErrorDomain()API-Since: 12.0static java.lang.StringASExtensionErrorDomain()API-Since: 12.0static java.lang.StringASExtensionLocalizedFailureReasonErrorKey()A key that specifies an error string to be shown to the user when an extension request fails.static @NotNull java.lang.StringASWebAuthenticationSessionErrorDomain()API-Since: 12.0
-
-
-
Field Detail
-
ASCOSEAlgorithmIdentifierES256
public static final long ASCOSEAlgorithmIdentifierES256
The COSE algorithm identifier representing ECDSA with SHA-256. API-Since: 15.0- See Also:
- Constant Field Values
-
ASCOSEEllipticCurveIdentifierP256
public static final long ASCOSEEllipticCurveIdentifierP256
The COSE curve identifier representing the P-256 elliptic curve. API-Since: 15.0- See Also:
- Constant Field Values
-
-
Method Detail
-
ASWebAuthenticationSessionErrorDomain
@NotNull public static @NotNull java.lang.String ASWebAuthenticationSessionErrorDomain()
API-Since: 12.0
-
ASCredentialIdentityStoreErrorDomain
@NotNull public static @NotNull java.lang.String ASCredentialIdentityStoreErrorDomain()
API-Since: 12.0
-
ASExtensionErrorDomain
public static java.lang.String ASExtensionErrorDomain()
API-Since: 12.0
-
ASAuthorizationScopeFullName
@NotNull public static @NotNull java.lang.String ASAuthorizationScopeFullName()
API-Since: 13.0
-
ASAuthorizationScopeEmail
@NotNull public static @NotNull java.lang.String ASAuthorizationScopeEmail()
API-Since: 13.0
-
ASAuthorizationOperationImplicit
@NotNull public static @NotNull java.lang.String ASAuthorizationOperationImplicit()
API-Since: 13.0
-
ASAuthorizationOperationLogin
@NotNull public static @NotNull java.lang.String ASAuthorizationOperationLogin()
API-Since: 13.0
-
ASAuthorizationOperationRefresh
@NotNull public static @NotNull java.lang.String ASAuthorizationOperationRefresh()
API-Since: 13.0
-
ASAuthorizationOperationLogout
@NotNull public static @NotNull java.lang.String ASAuthorizationOperationLogout()
API-Since: 13.0
-
ASAuthorizationAppleIDProviderCredentialRevokedNotification
@NotNull public static @NotNull java.lang.String ASAuthorizationAppleIDProviderCredentialRevokedNotification()
API-Since: 13.0
-
ASAuthorizationErrorDomain
@NotNull public static @NotNull java.lang.String ASAuthorizationErrorDomain()
API-Since: 13.0
-
ASExtensionLocalizedFailureReasonErrorKey
public static java.lang.String ASExtensionLocalizedFailureReasonErrorKey()
A key that specifies an error string to be shown to the user when an extension request fails. API-Since: 14.0
-
ASAuthorizationProviderAuthorizationOperationConfigurationRemoved
@NotNull public static @NotNull java.lang.String ASAuthorizationProviderAuthorizationOperationConfigurationRemoved()
Operation which is invoked when the extension configuration is removed from the system. API-Since: 14.0
-
ASAuthorizationAllSupportedPublicKeyCredentialDescriptorTransports
@NotNull public static @NotNull NSArray<java.lang.String> ASAuthorizationAllSupportedPublicKeyCredentialDescriptorTransports()
Returns a list of all transports the device currently supports for communicating with an authenticator. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialUserVerificationPreferencePreferred
public static java.lang.String ASAuthorizationPublicKeyCredentialUserVerificationPreferencePreferred()
Indicates that the authenticator should try to verify the user if possible, but authentication should proceed even if user verification is not currently available. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialUserVerificationPreferenceRequired
public static java.lang.String ASAuthorizationPublicKeyCredentialUserVerificationPreferenceRequired()
Indicates that the authenticator must attempt to verify the user. If the authenticator is not currently capable of verifying the user, authentication will fail. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialUserVerificationPreferenceDiscouraged
public static java.lang.String ASAuthorizationPublicKeyCredentialUserVerificationPreferenceDiscouraged()
Indicates that the authenticator should prefer _not_ verifying the user, if possible. This may be used to streamline an authentication process where the user has already been verified. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialAttestationKindNone
public static java.lang.String ASAuthorizationPublicKeyCredentialAttestationKindNone()
Indicates that the authenticator should not perform attestation. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialAttestationKindDirect
public static java.lang.String ASAuthorizationPublicKeyCredentialAttestationKindDirect()
Indicates that the authenticator should perform attestation itself. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialAttestationKindIndirect
public static java.lang.String ASAuthorizationPublicKeyCredentialAttestationKindIndirect()
Indicates that the authenticator may use an external service to perform attestation. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialAttestationKindEnterprise
public static java.lang.String ASAuthorizationPublicKeyCredentialAttestationKindEnterprise()
Indicates that the authenticator should perform an attestation which may include information that uniquely identifies that authenticator. Authenticators should only allow enterprise attestation if they have been previously enrolled in enterprise management, and should restrict it to managed Relying Parties. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialResidentKeyPreferenceDiscouraged
public static java.lang.String ASAuthorizationPublicKeyCredentialResidentKeyPreferenceDiscouraged()
Indicates that the authenticator should not store the private key, if possible. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialResidentKeyPreferencePreferred
public static java.lang.String ASAuthorizationPublicKeyCredentialResidentKeyPreferencePreferred()
Indicates that the authenticator should store the private key, if possible. API-Since: 15.0
-
ASAuthorizationPublicKeyCredentialResidentKeyPreferenceRequired
public static java.lang.String ASAuthorizationPublicKeyCredentialResidentKeyPreferenceRequired()
Indicates that the authenticator must store the private key, and that key creation should fail if the authenticator is not currently capable of storing the key. API-Since: 15.0
-
ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportUSB
@NotNull public static @NotNull java.lang.String ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportUSB()
Indicates using USB or Lightning to communicate with an authenticator. API-Since: 15.0
-
ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportNFC
@NotNull public static @NotNull java.lang.String ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportNFC()
Indiciates using NFC to communicate with an authenticator. API-Since: 15.0
-
ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportBluetooth
@NotNull public static @NotNull java.lang.String ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportBluetooth()
Indicates using Bluetooth, including BLE, to communicate with an authenticator. API-Since: 15.0
-
ASAuthorizationProviderAuthorizationOperationDirectRequest
@NotNull public static @NotNull java.lang.String ASAuthorizationProviderAuthorizationOperationDirectRequest()
Operation which is invoked when a request is sent direct to the extension instead of loaded in an ASWebAuthenticationSession. API-Since: 16.0
-
-