Documentation
¶
Overview ¶
Package authenticationservices provides purego-based Go bindings for the macOS AuthenticationServices framework.
Apple documentation: https://developer.apple.com/documentation/authenticationservices
Index ¶
- func ASAuthorizationAllSupportedPublicKeyCredentialDescriptorTransports() *foundation.NSArray[*foundation.NSString]
- func ASAuthorizationAppleIDProviderCredentialRevokedNotification() *foundation.NSString
- func ASAuthorizationErrorDomain() *foundation.NSString
- func ASAuthorizationOperationImplicit() *foundation.NSString
- func ASAuthorizationOperationLogin() *foundation.NSString
- func ASAuthorizationOperationLogout() *foundation.NSString
- func ASAuthorizationOperationRefresh() *foundation.NSString
- func ASAuthorizationProviderAuthorizationOperationConfigurationRemoved() *foundation.NSString
- func ASAuthorizationProviderAuthorizationOperationDirectRequest() *foundation.NSString
- func ASAuthorizationProviderExtensionEncryptionAlgorithmECDHE_A256GCM() uintptr
- func ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_Curve25519_SHA256_ChachaPoly() uintptr
- func ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_P256_SHA256_AES_GCM_256() uintptr
- func ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_P384_SHA384_AES_GCM_256() uintptr
- func ASAuthorizationProviderExtensionLoginConfigurationConfigurationWithOpenIDConfigurationURLClientIDIssuerCompletion(openIDConfigurationURL *foundation.NSURL, clientID *foundation.NSString, ...)
- func ASAuthorizationProviderExtensionSigningAlgorithmES256() uintptr
- func ASAuthorizationProviderExtensionSigningAlgorithmES384() uintptr
- func ASAuthorizationProviderExtensionSigningAlgorithmEd25519() uintptr
- func ASAuthorizationPublicKeyCredentialAttestationKindDirect() *foundation.NSString
- func ASAuthorizationPublicKeyCredentialAttestationKindEnterprise() *foundation.NSString
- func ASAuthorizationPublicKeyCredentialAttestationKindIndirect() *foundation.NSString
- func ASAuthorizationPublicKeyCredentialAttestationKindNone() *foundation.NSString
- func ASAuthorizationPublicKeyCredentialResidentKeyPreferenceDiscouraged() *foundation.NSString
- func ASAuthorizationPublicKeyCredentialResidentKeyPreferencePreferred() *foundation.NSString
- func ASAuthorizationPublicKeyCredentialResidentKeyPreferenceRequired() *foundation.NSString
- func ASAuthorizationPublicKeyCredentialUserVerificationPreferenceDiscouraged() *foundation.NSString
- func ASAuthorizationPublicKeyCredentialUserVerificationPreferencePreferred() *foundation.NSString
- func ASAuthorizationPublicKeyCredentialUserVerificationPreferenceRequired() *foundation.NSString
- func ASAuthorizationScopeEmail() *foundation.NSString
- func ASAuthorizationScopeFullName() *foundation.NSString
- func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportBluetooth() uintptr
- func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportNFC() uintptr
- func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportUSB() uintptr
- func ASAuthorizationWebBrowserPublicKeyCredentialManagerIsDeviceConfiguredForPasskeys() bool
- func ASCredentialIdentityStoreErrorDomain() *foundation.NSString
- func ASExtensionErrorDomain() *foundation.NSString
- func ASSettingsHelperOpenCredentialProviderAppSettingsWithCompletionHandler(completionHandler func(unsafe.Pointer))
- func ASSettingsHelperOpenVerificationCodeAppSettingsWithCompletionHandler(completionHandler func(unsafe.Pointer))
- func ASSettingsHelperRequestToTurnOnCredentialProviderExtensionWithCompletionHandler(completionHandler func(bool))
- func ASWebAuthenticationSessionErrorDomain() *foundation.NSString
- func SymbolAvailable(symbol string) bool
- type ASAuthorization
- type ASAuthorizationAppleIDButton
- func (o *ASAuthorizationAppleIDButton) CornerRadius() float64
- func (o *ASAuthorizationAppleIDButton) InitWithAuthorizationButtonTypeAuthorizationButtonStyle(type_ ASAuthorizationAppleIDButtonType, ...) *ASAuthorizationAppleIDButton
- func (o *ASAuthorizationAppleIDButton) SetCornerRadius(cornerRadius float64)
- type ASAuthorizationAppleIDButtonStyle
- type ASAuthorizationAppleIDButtonType
- type ASAuthorizationAppleIDCredential
- func (o *ASAuthorizationAppleIDCredential) AuthorizationCode() *foundation.NSData
- func (o *ASAuthorizationAppleIDCredential) AuthorizedScopes() *foundation.NSArray[*foundation.NSString]
- func (o *ASAuthorizationAppleIDCredential) Email() *foundation.NSString
- func (o *ASAuthorizationAppleIDCredential) FullName() *foundation.NSPersonNameComponents
- func (o *ASAuthorizationAppleIDCredential) IdentityToken() *foundation.NSData
- func (o *ASAuthorizationAppleIDCredential) RealUserStatus() ASUserDetectionStatus
- func (o *ASAuthorizationAppleIDCredential) State() *foundation.NSString
- func (o *ASAuthorizationAppleIDCredential) User() *foundation.NSString
- func (o *ASAuthorizationAppleIDCredential) UserAgeRange() ASUserAgeRange
- type ASAuthorizationAppleIDProvider
- type ASAuthorizationAppleIDProviderCredentialState
- type ASAuthorizationAppleIDRequest
- type ASAuthorizationController
- func (o *ASAuthorizationController) AuthorizationRequests() *foundation.NSArray[*ASAuthorizationRequest]
- func (o *ASAuthorizationController) Cancel()
- func (o *ASAuthorizationController) Delegate() ASAuthorizationControllerDelegate
- func (o *ASAuthorizationController) InitWithAuthorizationRequests(authorizationRequests *foundation.NSArray[*ASAuthorizationRequest]) *ASAuthorizationController
- func (o *ASAuthorizationController) PerformRequests()
- func (o *ASAuthorizationController) PerformRequestsWithOptions(options ASAuthorizationControllerRequestOptions)
- func (o *ASAuthorizationController) PresentationContextProvider() ASAuthorizationControllerPresentationContextProviding
- func (o *ASAuthorizationController) SetDelegate(delegate ASAuthorizationControllerDelegate)
- func (o *ASAuthorizationController) SetPresentationContextProvider(...)
- type ASAuthorizationControllerDelegate
- type ASAuthorizationControllerPresentationContextProviding
- type ASAuthorizationControllerRequestOptions
- type ASAuthorizationCredential
- type ASAuthorizationError
- type ASAuthorizationOpenIDRequest
- func (o *ASAuthorizationOpenIDRequest) Nonce() *foundation.NSString
- func (o *ASAuthorizationOpenIDRequest) RequestedOperation() *foundation.NSString
- func (o *ASAuthorizationOpenIDRequest) RequestedScopes() *foundation.NSArray[*foundation.NSString]
- func (o *ASAuthorizationOpenIDRequest) SetNonce(nonce *foundation.NSString)
- func (o *ASAuthorizationOpenIDRequest) SetRequestedOperation(requestedOperation *foundation.NSString)
- func (o *ASAuthorizationOpenIDRequest) SetRequestedScopes(requestedScopes *foundation.NSArray[*foundation.NSString])
- func (o *ASAuthorizationOpenIDRequest) SetState(state *foundation.NSString)
- func (o *ASAuthorizationOpenIDRequest) State() *foundation.NSString
- type ASAuthorizationPasswordProvider
- type ASAuthorizationPasswordRequest
- type ASAuthorizationPlatformPublicKeyCredentialAssertion
- func (o *ASAuthorizationPlatformPublicKeyCredentialAssertion) Attachment() ASAuthorizationPublicKeyCredentialAttachment
- func (o *ASAuthorizationPlatformPublicKeyCredentialAssertion) LargeBlob() *ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput
- func (o *ASAuthorizationPlatformPublicKeyCredentialAssertion) Prf() *ASAuthorizationPublicKeyCredentialPRFAssertionOutput
- type ASAuthorizationPlatformPublicKeyCredentialAssertionRequest
- func (o *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) AllowedCredentials() *foundation.NSArray[*ASAuthorizationPlatformPublicKeyCredentialDescriptor]
- func (o *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) LargeBlob() *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput
- func (o *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) Prf() *ASAuthorizationPublicKeyCredentialPRFAssertionInput
- func (o *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) SetAllowedCredentials(...)
- func (o *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) SetLargeBlob(largeBlob *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput)
- func (o *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) SetPrf(prf *ASAuthorizationPublicKeyCredentialPRFAssertionInput)
- type ASAuthorizationPlatformPublicKeyCredentialDescriptor
- type ASAuthorizationPlatformPublicKeyCredentialProvider
- func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) CreateCredentialAssertionRequestWithChallenge(challenge *foundation.NSData) *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest
- func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) CreateCredentialRegistrationRequestWithChallengeNameUserID(challenge *foundation.NSData, name *foundation.NSString, ...) *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
- func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) CreateCredentialRegistrationRequestWithChallengeNameUserIDRequestStyle(challenge *foundation.NSData, name *foundation.NSString, ...) *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
- func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) InitWithRelyingPartyIdentifier(relyingPartyIdentifier *foundation.NSString) *ASAuthorizationPlatformPublicKeyCredentialProvider
- func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) RelyingPartyIdentifier() *foundation.NSString
- type ASAuthorizationPlatformPublicKeyCredentialRegistration
- func (o *ASAuthorizationPlatformPublicKeyCredentialRegistration) Attachment() ASAuthorizationPublicKeyCredentialAttachment
- func (o *ASAuthorizationPlatformPublicKeyCredentialRegistration) LargeBlob() *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput
- func (o *ASAuthorizationPlatformPublicKeyCredentialRegistration) Prf() *ASAuthorizationPublicKeyCredentialPRFRegistrationOutput
- type ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
- func (o *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) LargeBlob() *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput
- func (o *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) Prf() *ASAuthorizationPublicKeyCredentialPRFRegistrationInput
- func (o *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) RequestStyle() ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle
- func (o *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) SetLargeBlob(largeBlob *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput)
- func (o *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) SetPrf(prf *ASAuthorizationPublicKeyCredentialPRFRegistrationInput)
- func (o *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) SetRequestStyle(...)
- type ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle
- type ASAuthorizationProvider
- type ASAuthorizationProviderExtensionAuthenticationMethod
- type ASAuthorizationProviderExtensionAuthorizationRequest
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) AuthorizationOptions() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CallerAuditToken() *foundation.NSData
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CallerBundleIdentifier() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CallerTeamIdentifier() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) Cancel()
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) Complete()
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithAuthorizationResult(authorizationResult *ASAuthorizationProviderExtensionAuthorizationResult)
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithError(error_ unsafe.Pointer)
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithHTTPAuthorizationHeaders(...)
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithHTTPResponseHttpBody(httpResponse *foundation.NSHTTPURLResponse, httpBody *foundation.NSData)
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) DoNotHandle()
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) ExtensionData() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) HttpBody() *foundation.NSData
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) HttpHeaders() *foundation.NSDictionary[*foundation.NSString, *foundation.NSString]
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) IsCallerManaged() bool
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) IsUserInterfaceEnabled() bool
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) LocalizedCallerDisplayName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) LoginManager() *ASAuthorizationProviderExtensionLoginManager
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) PresentAuthorizationViewControllerWithCompletion(completion func(bool, unsafe.Pointer))
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) Realm() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) RequestedOperation() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionAuthorizationRequest) Url() *foundation.NSURL
- type ASAuthorizationProviderExtensionAuthorizationRequestHandler
- type ASAuthorizationProviderExtensionAuthorizationResult
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) HttpAuthorizationHeaders() *foundation.NSDictionary[*foundation.NSString, *foundation.NSString]
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) HttpBody() *foundation.NSData
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) HttpResponse() *foundation.NSHTTPURLResponse
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) InitWithHTTPAuthorizationHeaders(...) *ASAuthorizationProviderExtensionAuthorizationResult
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) InitWithHTTPResponseHttpBody(httpResponse *foundation.NSHTTPURLResponse, httpBody *foundation.NSData) *ASAuthorizationProviderExtensionAuthorizationResult
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) PrivateKeys() *foundation.NSArray[objc.ID]
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) SetHttpAuthorizationHeaders(...)
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) SetHttpBody(httpBody *foundation.NSData)
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) SetHttpResponse(httpResponse *foundation.NSHTTPURLResponse)
- func (o *ASAuthorizationProviderExtensionAuthorizationResult) SetPrivateKeys(privateKeys *foundation.NSArray[objc.ID])
- type ASAuthorizationProviderExtensionFederationType
- type ASAuthorizationProviderExtensionKerberosMapping
- func (o *ASAuthorizationProviderExtensionKerberosMapping) ClientNameKeyName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionKerberosMapping) EncryptionKeyTypeKeyName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionKerberosMapping) MessageBufferKeyName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionKerberosMapping) RealmKeyName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionKerberosMapping) ServiceNameKeyName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionKerberosMapping) SessionKeyKeyName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionKerberosMapping) SetClientNameKeyName(clientNameKeyName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionKerberosMapping) SetEncryptionKeyTypeKeyName(encryptionKeyTypeKeyName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionKerberosMapping) SetMessageBufferKeyName(messageBufferKeyName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionKerberosMapping) SetRealmKeyName(realmKeyName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionKerberosMapping) SetServiceNameKeyName(serviceNameKeyName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionKerberosMapping) SetSessionKeyKeyName(sessionKeyKeyName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionKerberosMapping) SetTicketKeyPath(ticketKeyPath *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionKerberosMapping) TicketKeyPath() *foundation.NSString
- type ASAuthorizationProviderExtensionKeyType
- type ASAuthorizationProviderExtensionLoginConfiguration
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) AccountDisplayName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) AdditionalAuthorizationScopes() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) AdditionalScopes() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) Audience() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) ClientID() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomFederationUserPreauthenticationRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomKeyExchangeRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomKeyRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomLoginRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomNonceRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomRefreshRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomRequestJWTParameterName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) DeviceContext() *foundation.NSData
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationMEXURL() *foundation.NSURL
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationMEXURLKeypath() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationPredicate() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationRequestURN() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationType() ASAuthorizationProviderExtensionFederationType
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationUserPreauthenticationURL() *foundation.NSURL
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) GroupRequestClaimName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) GroupResponseClaimName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) HpkeAuthPublicKey() unsafe.Pointer
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) HpkePreSharedKey() *foundation.NSData
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) HpkePreSharedKeyID() *foundation.NSData
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) IncludePreviousRefreshTokenInLoginRequest() bool
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) InitWithClientIDIssuerTokenEndpointURLJwksEndpointURLAudience(clientID *foundation.NSString, issuer *foundation.NSString, ...) *ASAuthorizationProviderExtensionLoginConfiguration
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) InvalidCredentialPredicate() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) Issuer() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) JwksEndpointURL() *foundation.NSURL
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) JwksTrustedRootCertificates() *foundation.NSArray[objc.ID]
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) KerberosTicketMappings() *foundation.NSArray[*ASAuthorizationProviderExtensionKerberosMapping]
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) KeyEndpointURL() *foundation.NSURL
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestEncryptionAPVPrefix() *foundation.NSData
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestEncryptionAlgorithm() *foundation.NSNumber
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestEncryptionPublicKey() unsafe.Pointer
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestHPKEPreSharedKey() *foundation.NSData
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestHPKEPreSharedKeyID() *foundation.NSData
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) NonceEndpointURL() *foundation.NSURL
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) NonceResponseKeypath() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) PreviousRefreshTokenClaimName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) RefreshEndpointURL() *foundation.NSURL
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) ServerNonceClaimName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetAccountDisplayName(accountDisplayName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetAdditionalAuthorizationScopes(additionalAuthorizationScopes *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetAdditionalScopes(additionalScopes *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetAudience(audience *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomAssertionRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomAssertionRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomFederationUserPreauthenticationRequestValues(...)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyExchangeRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyExchangeRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyExchangeRequestValues(customKeyExchangeRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyRequestValues(customKeyRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomLoginRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomLoginRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomLoginRequestValues(customLoginRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomNonceRequestValues(customNonceRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRefreshRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRefreshRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRefreshRequestValues(customRefreshRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRequestJWTParameterName(customRequestJWTParameterName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetDeviceContext(deviceContext *foundation.NSData)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationMEXURL(federationMEXURL *foundation.NSURL)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationMEXURLKeypath(federationMEXURLKeypath *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationPredicate(federationPredicate *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationRequestURN(federationRequestURN *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationType(federationType ASAuthorizationProviderExtensionFederationType)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationUserPreauthenticationURL(federationUserPreauthenticationURL *foundation.NSURL)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetGroupRequestClaimName(groupRequestClaimName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetGroupResponseClaimName(groupResponseClaimName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetHpkeAuthPublicKey(hpkeAuthPublicKey unsafe.Pointer)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetHpkePreSharedKey(hpkePreSharedKey *foundation.NSData)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetHpkePreSharedKeyID(hpkePreSharedKeyID *foundation.NSData)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetIncludePreviousRefreshTokenInLoginRequest(includePreviousRefreshTokenInLoginRequest bool)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetInvalidCredentialPredicate(invalidCredentialPredicate *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetJwksEndpointURL(jwksEndpointURL *foundation.NSURL)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetJwksTrustedRootCertificates(jwksTrustedRootCertificates *foundation.NSArray[objc.ID])
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetKerberosTicketMappings(...)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetKeyEndpointURL(keyEndpointURL *foundation.NSURL)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestEncryptionAPVPrefix(loginRequestEncryptionAPVPrefix *foundation.NSData)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestEncryptionAlgorithm(loginRequestEncryptionAlgorithm *foundation.NSNumber)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestEncryptionPublicKey(loginRequestEncryptionPublicKey unsafe.Pointer)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestHPKEPreSharedKey(loginRequestHPKEPreSharedKey *foundation.NSData)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestHPKEPreSharedKeyID(loginRequestHPKEPreSharedKeyID *foundation.NSData)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetNonceEndpointURL(nonceEndpointURL *foundation.NSURL)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetNonceResponseKeypath(nonceResponseKeypath *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetPreviousRefreshTokenClaimName(previousRefreshTokenClaimName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetRefreshEndpointURL(refreshEndpointURL *foundation.NSURL)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetServerNonceClaimName(serverNonceClaimName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetTokenEndpointURL(tokenEndpointURL *foundation.NSURL)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetUniqueIdentifierClaimName(uniqueIdentifierClaimName *foundation.NSString)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetUserSecureEnclaveKeyBiometricPolicy(...)
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) TokenEndpointURL() *foundation.NSURL
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) UniqueIdentifierClaimName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginConfiguration) UserSecureEnclaveKeyBiometricPolicy() ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy
- type ASAuthorizationProviderExtensionLoginManager
- func (o *ASAuthorizationProviderExtensionLoginManager) AttestKeyClientDataHashCompletion(keyType ASAuthorizationProviderExtensionKeyType, ...)
- func (o *ASAuthorizationProviderExtensionLoginManager) AttestPendingKeyClientDataHashCompletion(keyType ASAuthorizationProviderExtensionKeyType, ...)
- func (o *ASAuthorizationProviderExtensionLoginManager) AuthenticationMethod() ASAuthorizationProviderExtensionAuthenticationMethod
- func (o *ASAuthorizationProviderExtensionLoginManager) BeginKeyRotationForKeyType(keyType ASAuthorizationProviderExtensionKeyType) unsafe.Pointer
- func (o *ASAuthorizationProviderExtensionLoginManager) CompleteKeyRotationForKeyType(keyType ASAuthorizationProviderExtensionKeyType)
- func (o *ASAuthorizationProviderExtensionLoginManager) CopyIdentityForKeyType(keyType ASAuthorizationProviderExtensionKeyType) unsafe.Pointer
- func (o *ASAuthorizationProviderExtensionLoginManager) CopyKeyForKeyType(keyType ASAuthorizationProviderExtensionKeyType) unsafe.Pointer
- func (o *ASAuthorizationProviderExtensionLoginManager) DecryptionKeysNeedRepair()
- func (o *ASAuthorizationProviderExtensionLoginManager) DeviceRegistrationsNeedsRepair()
- func (o *ASAuthorizationProviderExtensionLoginManager) ExtensionData() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *ASAuthorizationProviderExtensionLoginManager) IsDeviceRegistered() bool
- func (o *ASAuthorizationProviderExtensionLoginManager) IsUserRegistered() bool
- func (o *ASAuthorizationProviderExtensionLoginManager) LoginConfiguration() *ASAuthorizationProviderExtensionLoginConfiguration
- func (o *ASAuthorizationProviderExtensionLoginManager) LoginUserName() unsafe.Pointer
- func (o *ASAuthorizationProviderExtensionLoginManager) PresentRegistrationViewControllerWithCompletion(completion func(unsafe.Pointer))
- func (o *ASAuthorizationProviderExtensionLoginManager) RegistrationToken() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionLoginManager) ResetDeviceKeys()
- func (o *ASAuthorizationProviderExtensionLoginManager) ResetKeys()
- func (o *ASAuthorizationProviderExtensionLoginManager) ResetUserSecureEnclaveKey()
- func (o *ASAuthorizationProviderExtensionLoginManager) SaveCertificateKeyType(certificate unsafe.Pointer, keyType ASAuthorizationProviderExtensionKeyType)
- func (o *ASAuthorizationProviderExtensionLoginManager) SaveLoginConfigurationError(loginConfiguration *ASAuthorizationProviderExtensionLoginConfiguration) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginManager) SaveUserLoginConfigurationError(userLoginConfiguration *ASAuthorizationProviderExtensionUserLoginConfiguration) (bool, error)
- func (o *ASAuthorizationProviderExtensionLoginManager) SetLoginUserName(loginUserName unsafe.Pointer)deprecated
- func (o *ASAuthorizationProviderExtensionLoginManager) SetSsoTokens(ssoTokens *foundation.NSDictionary[objc.ID, objc.ID])
- func (o *ASAuthorizationProviderExtensionLoginManager) SsoTokens() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *ASAuthorizationProviderExtensionLoginManager) UserLoginConfiguration() *ASAuthorizationProviderExtensionUserLoginConfiguration
- func (o *ASAuthorizationProviderExtensionLoginManager) UserNeedsReauthenticationWithCompletion(completion func(unsafe.Pointer))
- func (o *ASAuthorizationProviderExtensionLoginManager) UserRegistrationsNeedsRepair()
- type ASAuthorizationProviderExtensionPlatformSSOProtocolVersion
- type ASAuthorizationProviderExtensionRegistrationHandler
- type ASAuthorizationProviderExtensionRegistrationResult
- type ASAuthorizationProviderExtensionRequestOptions
- type ASAuthorizationProviderExtensionSupportedGrantTypes
- type ASAuthorizationProviderExtensionUserLoginConfiguration
- func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) InitWithLoginUserName(loginUserName *foundation.NSString) *ASAuthorizationProviderExtensionUserLoginConfiguration
- func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) LoginUserName() *foundation.NSString
- func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomAssertionRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomAssertionRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomLoginRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomLoginRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
- func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetLoginUserName(loginUserName *foundation.NSString)
- type ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy
- type ASAuthorizationPublicKeyCredentialAssertion
- type ASAuthorizationPublicKeyCredentialAssertionRequest
- type ASAuthorizationPublicKeyCredentialAttachment
- type ASAuthorizationPublicKeyCredentialDescriptor
- type ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput
- func (o *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput) DataToWrite() *foundation.NSData
- func (o *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput) InitWithOperation(operation ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation) *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput
- func (o *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput) Operation() ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation
- func (o *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput) SetDataToWrite(dataToWrite *foundation.NSData)
- type ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation
- type ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput
- type ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput
- func (o *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput) InitWithSupportRequirement(requirement ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement) *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput
- func (o *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput) SetSupportRequirement(...)
- func (o *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput) SupportRequirement() ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement
- type ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput
- type ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement
- type ASAuthorizationPublicKeyCredentialPRFAssertionInput
- func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInput) InitWithInputValuesPerCredentialInputValues(inputValues *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues, ...) *ASAuthorizationPublicKeyCredentialPRFAssertionInput
- func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInput) InputValues() *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues
- func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInput) PerCredentialInputValues() ...
- type ASAuthorizationPublicKeyCredentialPRFAssertionInputValues
- func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) InitWithSaltInput1SaltInput2(saltInput1 *foundation.NSData, saltInput2 *foundation.NSData) *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues
- func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) SaltInput1() *foundation.NSData
- func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) SaltInput2() *foundation.NSData
- type ASAuthorizationPublicKeyCredentialPRFAssertionOutput
- type ASAuthorizationPublicKeyCredentialPRFRegistrationInput
- func (o *ASAuthorizationPublicKeyCredentialPRFRegistrationInput) InitWithInputValues(inputValues *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) *ASAuthorizationPublicKeyCredentialPRFRegistrationInput
- func (o *ASAuthorizationPublicKeyCredentialPRFRegistrationInput) InputValues() *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues
- func (o *ASAuthorizationPublicKeyCredentialPRFRegistrationInput) ShouldCheckForSupport() bool
- type ASAuthorizationPublicKeyCredentialPRFRegistrationOutput
- type ASAuthorizationPublicKeyCredentialParameters
- type ASAuthorizationPublicKeyCredentialRegistration
- type ASAuthorizationPublicKeyCredentialRegistrationRequest
- type ASAuthorizationRequest
- type ASAuthorizationSecurityKeyPublicKeyCredentialAssertion
- type ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) AllowedCredentials() *foundation.NSArray[*ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor]
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) AppID() *foundation.NSString
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) Prf() *ASAuthorizationPublicKeyCredentialPRFAssertionInput
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) SetAllowedCredentials(...)
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) SetAppID(appID *foundation.NSString)
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) SetPrf(prf *ASAuthorizationPublicKeyCredentialPRFAssertionInput)
- type ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor) InitWithCredentialIDTransports(credentialID *foundation.NSData, ...) *ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor) SetTransports(transports *foundation.NSArray[*foundation.NSString])
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor) Transports() *foundation.NSArray[*foundation.NSString]
- type ASAuthorizationSecurityKeyPublicKeyCredentialProvider
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialProvider) CreateCredentialAssertionRequestWithChallenge(challenge *foundation.NSData) *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialProvider) CreateCredentialRegistrationRequestWithChallengeDisplayNameNameUserID(challenge *foundation.NSData, displayName *foundation.NSString, ...) *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialProvider) InitWithRelyingPartyIdentifier(relyingPartyIdentifier *foundation.NSString) *ASAuthorizationSecurityKeyPublicKeyCredentialProvider
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialProvider) RelyingPartyIdentifier() *foundation.NSString
- type ASAuthorizationSecurityKeyPublicKeyCredentialRegistration
- type ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) CredentialParameters() *foundation.NSArray[*ASAuthorizationPublicKeyCredentialParameters]
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) ExcludedCredentials() *foundation.NSArray[*ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor]
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) Prf() *ASAuthorizationPublicKeyCredentialPRFRegistrationInput
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) ResidentKeyPreference() *foundation.NSString
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetCredentialParameters(...)
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetExcludedCredentials(...)
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetPrf(prf *ASAuthorizationPublicKeyCredentialPRFRegistrationInput)
- func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetResidentKeyPreference(residentKeyPreference *foundation.NSString)
- type ASAuthorizationSingleSignOnCredential
- func (o *ASAuthorizationSingleSignOnCredential) AccessToken() *foundation.NSData
- func (o *ASAuthorizationSingleSignOnCredential) AuthenticatedResponse() *foundation.NSHTTPURLResponse
- func (o *ASAuthorizationSingleSignOnCredential) AuthorizedScopes() *foundation.NSArray[*foundation.NSString]
- func (o *ASAuthorizationSingleSignOnCredential) IdentityToken() *foundation.NSData
- func (o *ASAuthorizationSingleSignOnCredential) PrivateKeys() *foundation.NSArray[objc.ID]
- func (o *ASAuthorizationSingleSignOnCredential) State() *foundation.NSString
- type ASAuthorizationSingleSignOnProvider
- type ASAuthorizationSingleSignOnRequest
- func (o *ASAuthorizationSingleSignOnRequest) AuthorizationOptions() *foundation.NSArray[*foundation.NSURLQueryItem]
- func (o *ASAuthorizationSingleSignOnRequest) IsUserInterfaceEnabled() bool
- func (o *ASAuthorizationSingleSignOnRequest) SetAuthorizationOptions(authorizationOptions *foundation.NSArray[*foundation.NSURLQueryItem])
- func (o *ASAuthorizationSingleSignOnRequest) SetUserInterfaceEnabled(userInterfaceEnabled bool)
- type ASAuthorizationWebBrowserExternallyAuthenticatableRequest
- type ASAuthorizationWebBrowserPlatformPublicKeyCredential
- func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) CredentialID() *foundation.NSData
- func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) CustomTitle() *foundation.NSString
- func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) Name() *foundation.NSString
- func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) ProviderName() *foundation.NSString
- func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) RelyingParty() *foundation.NSString
- func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) UserHandle() *foundation.NSData
- type ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest
- type ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider
- type ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest
- type ASAuthorizationWebBrowserPublicKeyCredentialManager
- func (o *ASAuthorizationWebBrowserPublicKeyCredentialManager) AuthorizationStateForPlatformCredentials() ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState
- func (o *ASAuthorizationWebBrowserPublicKeyCredentialManager) Init() *ASAuthorizationWebBrowserPublicKeyCredentialManager
- func (o *ASAuthorizationWebBrowserPublicKeyCredentialManager) PlatformCredentialsForRelyingPartyCompletionHandler(relyingParty *foundation.NSString, ...)
- func (o *ASAuthorizationWebBrowserPublicKeyCredentialManager) RequestAuthorizationForPublicKeyCredentials(...)
- type ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState
- type ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest
- type ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider
- type ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest
- type ASCredentialIdentity
- type ASCredentialIdentityStore
- func (o *ASCredentialIdentityStore) GetCredentialIdentitiesForServiceCredentialIdentityTypesCompletionHandler(serviceIdentifier *ASCredentialServiceIdentifier, ...)
- func (o *ASCredentialIdentityStore) GetCredentialIdentityStoreStateWithCompletion(completion func(*ASCredentialIdentityStoreState))
- func (o *ASCredentialIdentityStore) RemoveAllCredentialIdentitiesWithCompletion(completion func(bool, unsafe.Pointer))
- func (o *ASCredentialIdentityStore) RemoveCredentialIdentitiesCompletion(credentialIdentities *foundation.NSArray[*ASPasswordCredentialIdentity], ...)
- func (o *ASCredentialIdentityStore) RemoveCredentialIdentityEntriesCompletion(credentialIdentities *foundation.NSArray[ASCredentialIdentity], ...)
- func (o *ASCredentialIdentityStore) ReplaceCredentialIdentitiesWithIdentitiesCompletion(newCredentialIdentities *foundation.NSArray[*ASPasswordCredentialIdentity], ...)
- func (o *ASCredentialIdentityStore) ReplaceCredentialIdentityEntriesCompletion(newCredentialIdentities *foundation.NSArray[ASCredentialIdentity], ...)
- func (o *ASCredentialIdentityStore) SaveCredentialIdentitiesCompletion(credentialIdentities *foundation.NSArray[*ASPasswordCredentialIdentity], ...)
- func (o *ASCredentialIdentityStore) SaveCredentialIdentityEntriesCompletion(credentialIdentities *foundation.NSArray[ASCredentialIdentity], ...)
- type ASCredentialIdentityStoreErrorCode
- type ASCredentialIdentityStoreState
- type ASCredentialIdentityTypes
- type ASCredentialProviderExtensionContext
- func (o *ASCredentialProviderExtensionContext) CompleteAssertionRequestWithSelectedPasskeyCredentialCompletionHandler(credential *ASPasskeyAssertionCredential, completionHandler func(bool))
- func (o *ASCredentialProviderExtensionContext) CompleteExtensionConfigurationRequest()
- func (o *ASCredentialProviderExtensionContext) CompleteOneTimeCodeRequestWithSelectedCredentialCompletionHandler(credential *ASOneTimeCodeCredential, completionHandler func(bool))
- func (o *ASCredentialProviderExtensionContext) CompleteRegistrationRequestWithSelectedPasskeyCredentialCompletionHandler(credential *ASPasskeyRegistrationCredential, completionHandler func(bool))
- func (o *ASCredentialProviderExtensionContext) CompleteRequestWithSelectedCredentialCompletionHandler(credential *ASPasswordCredential, completionHandler func(bool))
- type ASCredentialProviderViewController
- func (o *ASCredentialProviderViewController) PerformPasskeyRegistrationWithoutUserInteractionIfPossible(registrationRequest *ASPasskeyCredentialRequest)
- func (o *ASCredentialProviderViewController) PrepareCredentialListForServiceIdentifiers(serviceIdentifiers *foundation.NSArray[*ASCredentialServiceIdentifier])
- func (o *ASCredentialProviderViewController) PrepareCredentialListForServiceIdentifiersRequestParameters(serviceIdentifiers *foundation.NSArray[*ASCredentialServiceIdentifier], ...)
- func (o *ASCredentialProviderViewController) PrepareInterfaceForExtensionConfiguration()
- func (o *ASCredentialProviderViewController) PrepareInterfaceForPasskeyRegistration(registrationRequest ASCredentialRequest)
- func (o *ASCredentialProviderViewController) PrepareInterfaceToProvideCredentialForIdentity(credentialIdentity *ASPasswordCredentialIdentity)
- func (o *ASCredentialProviderViewController) PrepareInterfaceToProvideCredentialForRequest(credentialRequest ASCredentialRequest)
- func (o *ASCredentialProviderViewController) PrepareOneTimeCodeCredentialListForServiceIdentifiers(serviceIdentifiers *foundation.NSArray[*ASCredentialServiceIdentifier])
- func (o *ASCredentialProviderViewController) ProvideCredentialWithoutUserInteractionForIdentity(credentialIdentity *ASPasswordCredentialIdentity)
- func (o *ASCredentialProviderViewController) ProvideCredentialWithoutUserInteractionForRequest(credentialRequest ASCredentialRequest)
- func (o *ASCredentialProviderViewController) ReportAllAcceptedPublicKeyCredentialsForRelyingPartyUserHandleAcceptedCredentialIDs(relyingParty *foundation.NSString, userHandle *foundation.NSData, ...)
- func (o *ASCredentialProviderViewController) ReportPublicKeyCredentialUpdateForRelyingPartyUserHandleNewName(relyingParty *foundation.NSString, userHandle *foundation.NSData, ...)
- func (o *ASCredentialProviderViewController) ReportUnknownPublicKeyCredentialForRelyingPartyCredentialID(relyingParty *foundation.NSString, credentialID *foundation.NSData)
- func (o *ASCredentialProviderViewController) ReportUnusedPasswordCredentialForDomainUserName(domain *foundation.NSString, userName *foundation.NSString)
- type ASCredentialRequest
- type ASCredentialRequestType
- type ASCredentialServiceIdentifier
- func (o *ASCredentialServiceIdentifier) DisplayName() *foundation.NSString
- func (o *ASCredentialServiceIdentifier) Identifier() *foundation.NSString
- func (o *ASCredentialServiceIdentifier) InitWithIdentifierType(identifier *foundation.NSString, type_ ASCredentialServiceIdentifierType) *ASCredentialServiceIdentifier
- func (o *ASCredentialServiceIdentifier) InitWithIdentifierTypeDisplayName(identifier *foundation.NSString, type_ ASCredentialServiceIdentifierType, ...) *ASCredentialServiceIdentifier
- func (o *ASCredentialServiceIdentifier) Type() ASCredentialServiceIdentifierType
- type ASCredentialServiceIdentifierType
- type ASExtensionErrorCode
- type ASOneTimeCodeCredential
- type ASOneTimeCodeCredentialIdentity
- type ASOneTimeCodeCredentialRequest
- type ASPasskeyAssertionCredential
- func ASPasskeyAssertionCredentialCredentialWithUserHandleRelyingPartySignatureClientDataHashAuthenticatorDataCredentialID(userHandle *foundation.NSData, relyingParty *foundation.NSString, ...) *ASPasskeyAssertionCredential
- func ASPasskeyAssertionCredentialFromID(id objc.ID) *ASPasskeyAssertionCredential
- func (o *ASPasskeyAssertionCredential) AuthenticatorData() *foundation.NSData
- func (o *ASPasskeyAssertionCredential) ClientDataHash() *foundation.NSData
- func (o *ASPasskeyAssertionCredential) CredentialID() *foundation.NSData
- func (o *ASPasskeyAssertionCredential) ExtensionOutput() *ASPasskeyAssertionCredentialExtensionOutput
- func (o *ASPasskeyAssertionCredential) InitWithUserHandleRelyingPartySignatureClientDataHashAuthenticatorDataCredentialID(userHandle *foundation.NSData, relyingParty *foundation.NSString, ...) *ASPasskeyAssertionCredential
- func (o *ASPasskeyAssertionCredential) InitWithUserHandleRelyingPartySignatureClientDataHashAuthenticatorDataCredentialIDExtensionOutput(userHandle *foundation.NSData, relyingParty *foundation.NSString, ...) *ASPasskeyAssertionCredential
- func (o *ASPasskeyAssertionCredential) RelyingParty() *foundation.NSString
- func (o *ASPasskeyAssertionCredential) SetExtensionOutput(extensionOutput *ASPasskeyAssertionCredentialExtensionOutput)
- func (o *ASPasskeyAssertionCredential) Signature() *foundation.NSData
- func (o *ASPasskeyAssertionCredential) UserHandle() *foundation.NSData
- type ASPasskeyAssertionCredentialExtensionInput
- type ASPasskeyAssertionCredentialExtensionOutput
- func (o *ASPasskeyAssertionCredentialExtensionOutput) InitWithLargeBlobOutput(largeBlob *ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput) *ASPasskeyAssertionCredentialExtensionOutput
- func (o *ASPasskeyAssertionCredentialExtensionOutput) LargeBlobAssertionOutput() *ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput
- type ASPasskeyCredentialIdentity
- func ASPasskeyCredentialIdentityFromID(id objc.ID) *ASPasskeyCredentialIdentity
- func ASPasskeyCredentialIdentityIdentityWithRelyingPartyIdentifierUserNameCredentialIDUserHandleRecordIdentifier(relyingPartyIdentifier *foundation.NSString, userName *foundation.NSString, ...) *ASPasskeyCredentialIdentity
- func (o *ASPasskeyCredentialIdentity) CredentialID() *foundation.NSData
- func (o *ASPasskeyCredentialIdentity) InitWithRelyingPartyIdentifierUserNameCredentialIDUserHandleRecordIdentifier(relyingPartyIdentifier *foundation.NSString, userName *foundation.NSString, ...) *ASPasskeyCredentialIdentity
- func (o *ASPasskeyCredentialIdentity) Rank() int
- func (o *ASPasskeyCredentialIdentity) RecordIdentifier() *foundation.NSString
- func (o *ASPasskeyCredentialIdentity) RelyingPartyIdentifier() *foundation.NSString
- func (o *ASPasskeyCredentialIdentity) SetRank(rank int)
- func (o *ASPasskeyCredentialIdentity) UserHandle() *foundation.NSData
- func (o *ASPasskeyCredentialIdentity) UserName() *foundation.NSString
- type ASPasskeyCredentialRequest
- func (o *ASPasskeyCredentialRequest) AssertionExtensionInput() *ASPasskeyAssertionCredentialExtensionInput
- func (o *ASPasskeyCredentialRequest) ClientDataHash() *foundation.NSData
- func (o *ASPasskeyCredentialRequest) ExcludedCredentials() *foundation.NSArray[*ASAuthorizationPlatformPublicKeyCredentialDescriptor]
- func (o *ASPasskeyCredentialRequest) InitWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithms(credentialIdentity *ASPasskeyCredentialIdentity, ...) *ASPasskeyCredentialRequest
- func (o *ASPasskeyCredentialRequest) InitWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithmsAssertionExtensionInput(credentialIdentity *ASPasskeyCredentialIdentity, ...) *ASPasskeyCredentialRequest
- func (o *ASPasskeyCredentialRequest) InitWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithmsRegistrationExtensionInput(credentialIdentity *ASPasskeyCredentialIdentity, ...) *ASPasskeyCredentialRequest
- func (o *ASPasskeyCredentialRequest) RegistrationExtensionInput() *ASPasskeyRegistrationCredentialExtensionInput
- func (o *ASPasskeyCredentialRequest) SetUserVerificationPreference(userVerificationPreference *foundation.NSString)
- func (o *ASPasskeyCredentialRequest) SupportedAlgorithms() *foundation.NSArray[*foundation.NSNumber]
- func (o *ASPasskeyCredentialRequest) UserVerificationPreference() *foundation.NSString
- type ASPasskeyCredentialRequestParameters
- func (o *ASPasskeyCredentialRequestParameters) AllowedCredentials() *foundation.NSArray[*foundation.NSData]
- func (o *ASPasskeyCredentialRequestParameters) ClientDataHash() *foundation.NSData
- func (o *ASPasskeyCredentialRequestParameters) ExtensionInput() *ASPasskeyAssertionCredentialExtensionInput
- func (o *ASPasskeyCredentialRequestParameters) RelyingPartyIdentifier() *foundation.NSString
- func (o *ASPasskeyCredentialRequestParameters) UserVerificationPreference() *foundation.NSString
- type ASPasskeyRegistrationCredential
- func ASPasskeyRegistrationCredentialCredentialWithRelyingPartyClientDataHashCredentialIDAttestationObject(relyingParty *foundation.NSString, clientDataHash *foundation.NSData, ...) *ASPasskeyRegistrationCredential
- func ASPasskeyRegistrationCredentialFromID(id objc.ID) *ASPasskeyRegistrationCredential
- func (o *ASPasskeyRegistrationCredential) AttestationObject() *foundation.NSData
- func (o *ASPasskeyRegistrationCredential) ClientDataHash() *foundation.NSData
- func (o *ASPasskeyRegistrationCredential) CredentialID() *foundation.NSData
- func (o *ASPasskeyRegistrationCredential) ExtensionOutput() *ASPasskeyRegistrationCredentialExtensionOutput
- func (o *ASPasskeyRegistrationCredential) InitWithRelyingPartyClientDataHashCredentialIDAttestationObject(relyingParty *foundation.NSString, clientDataHash *foundation.NSData, ...) *ASPasskeyRegistrationCredential
- func (o *ASPasskeyRegistrationCredential) InitWithRelyingPartyClientDataHashCredentialIDAttestationObjectExtensionOutput(relyingParty *foundation.NSString, clientDataHash *foundation.NSData, ...) *ASPasskeyRegistrationCredential
- func (o *ASPasskeyRegistrationCredential) RelyingParty() *foundation.NSString
- func (o *ASPasskeyRegistrationCredential) SetExtensionOutput(extensionOutput *ASPasskeyRegistrationCredentialExtensionOutput)
- type ASPasskeyRegistrationCredentialExtensionInput
- type ASPasskeyRegistrationCredentialExtensionOutput
- func (o *ASPasskeyRegistrationCredentialExtensionOutput) InitWithLargeBlobOutput(largeBlob *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput) *ASPasskeyRegistrationCredentialExtensionOutput
- func (o *ASPasskeyRegistrationCredentialExtensionOutput) LargeBlobRegistrationOutput() *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput
- type ASPasswordCredential
- type ASPasswordCredentialIdentity
- func (o *ASPasswordCredentialIdentity) InitWithServiceIdentifierUserRecordIdentifier(serviceIdentifier *ASCredentialServiceIdentifier, user *foundation.NSString, ...) *ASPasswordCredentialIdentity
- func (o *ASPasswordCredentialIdentity) Rank() int
- func (o *ASPasswordCredentialIdentity) RecordIdentifier() *foundation.NSString
- func (o *ASPasswordCredentialIdentity) ServiceIdentifier() *ASCredentialServiceIdentifier
- func (o *ASPasswordCredentialIdentity) SetRank(rank int)
- func (o *ASPasswordCredentialIdentity) User() *foundation.NSString
- type ASPasswordCredentialRequest
- type ASPublicKeyCredential
- type ASPublicKeyCredentialClientData
- func (o *ASPublicKeyCredentialClientData) Challenge() *foundation.NSData
- func (o *ASPublicKeyCredentialClientData) CrossOrigin() ASPublicKeyCredentialClientDataCrossOriginValue
- func (o *ASPublicKeyCredentialClientData) InitWithChallengeOrigin(challenge *foundation.NSData, origin *foundation.NSString) *ASPublicKeyCredentialClientData
- func (o *ASPublicKeyCredentialClientData) Origin() *foundation.NSString
- func (o *ASPublicKeyCredentialClientData) SetChallenge(challenge *foundation.NSData)
- func (o *ASPublicKeyCredentialClientData) SetCrossOrigin(crossOrigin ASPublicKeyCredentialClientDataCrossOriginValue)
- func (o *ASPublicKeyCredentialClientData) SetOrigin(origin *foundation.NSString)
- func (o *ASPublicKeyCredentialClientData) SetTopOrigin(topOrigin *foundation.NSString)
- func (o *ASPublicKeyCredentialClientData) TopOrigin() *foundation.NSString
- type ASPublicKeyCredentialClientDataCrossOriginValue
- type ASSettingsHelper
- type ASUserAgeRange
- type ASUserDetectionStatus
- type ASWebAuthenticationPresentationContextProviding
- type ASWebAuthenticationSession
- func (o *ASWebAuthenticationSession) AdditionalHeaderFields() *foundation.NSDictionary[*foundation.NSString, *foundation.NSString]
- func (o *ASWebAuthenticationSession) CanStart() bool
- func (o *ASWebAuthenticationSession) Cancel()
- func (o *ASWebAuthenticationSession) InitWithURLCallbackCompletionHandler(uRL *foundation.NSURL, callback *ASWebAuthenticationSessionCallback, ...) *ASWebAuthenticationSession
- func (o *ASWebAuthenticationSession) InitWithURLCallbackURLSchemeCompletionHandler(uRL *foundation.NSURL, callbackURLScheme *foundation.NSString, ...) *ASWebAuthenticationSession
- func (o *ASWebAuthenticationSession) PrefersEphemeralWebBrowserSession() bool
- func (o *ASWebAuthenticationSession) PresentationContextProvider() ASWebAuthenticationPresentationContextProviding
- func (o *ASWebAuthenticationSession) SetAdditionalHeaderFields(...)
- func (o *ASWebAuthenticationSession) SetPrefersEphemeralWebBrowserSession(prefersEphemeralWebBrowserSession bool)
- func (o *ASWebAuthenticationSession) SetPresentationContextProvider(presentationContextProvider ASWebAuthenticationPresentationContextProviding)
- func (o *ASWebAuthenticationSession) Start() bool
- type ASWebAuthenticationSessionCallback
- func ASWebAuthenticationSessionCallbackCallbackWithCustomScheme(customScheme *foundation.NSString) *ASWebAuthenticationSessionCallback
- func ASWebAuthenticationSessionCallbackCallbackWithHTTPSHostPath(host *foundation.NSString, path *foundation.NSString) *ASWebAuthenticationSessionCallback
- func ASWebAuthenticationSessionCallbackFromID(id objc.ID) *ASWebAuthenticationSessionCallback
- type ASWebAuthenticationSessionErrorCode
- type ASWebAuthenticationSessionRequest
- func (o *ASWebAuthenticationSessionRequest) AdditionalHeaderFields() *foundation.NSDictionary[*foundation.NSString, *foundation.NSString]
- func (o *ASWebAuthenticationSessionRequest) Callback() *ASWebAuthenticationSessionCallback
- func (o *ASWebAuthenticationSessionRequest) CallbackURLScheme() *foundation.NSStringdeprecated
- func (o *ASWebAuthenticationSessionRequest) CancelWithError(error_ unsafe.Pointer)
- func (o *ASWebAuthenticationSessionRequest) CompleteWithCallbackURL(url *foundation.NSURL)
- func (o *ASWebAuthenticationSessionRequest) Delegate() ASWebAuthenticationSessionRequestDelegatedeprecated
- func (o *ASWebAuthenticationSessionRequest) SetDelegate(delegate ASWebAuthenticationSessionRequestDelegate)
- func (o *ASWebAuthenticationSessionRequest) ShouldUseEphemeralSession() booldeprecated
- func (o *ASWebAuthenticationSessionRequest) URL() *foundation.NSURL
- func (o *ASWebAuthenticationSessionRequest) UUID() *foundation.NSUUID
- type ASWebAuthenticationSessionRequestDelegate
- type ASWebAuthenticationSessionWebBrowserSessionHandling
- type ASWebAuthenticationSessionWebBrowserSessionManager
- func (o *ASWebAuthenticationSessionWebBrowserSessionManager) SessionHandler() ASWebAuthenticationSessionWebBrowserSessionHandling
- func (o *ASWebAuthenticationSessionWebBrowserSessionManager) SetSessionHandler(sessionHandler ASWebAuthenticationSessionWebBrowserSessionHandling)
- func (o *ASWebAuthenticationSessionWebBrowserSessionManager) WasLaunchedByAuthenticationServices() bool
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type CGLCPContextPriorityRequest
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type EvCmd
- type Filesec_property_t
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type NXMouseButton
- type Os_clockid_t
- type Os_unfair_lock_flags_t
- type PMPageToPaperMappingType
- type Ptrauth_key
- type Qos_class_t
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ASAuthorizationAllSupportedPublicKeyCredentialDescriptorTransports ¶
func ASAuthorizationAllSupportedPublicKeyCredentialDescriptorTransports() *foundation.NSArray[*foundation.NSString]
func ASAuthorizationAppleIDProviderCredentialRevokedNotification ¶
func ASAuthorizationAppleIDProviderCredentialRevokedNotification() *foundation.NSString
func ASAuthorizationErrorDomain ¶
func ASAuthorizationErrorDomain() *foundation.NSString
func ASAuthorizationOperationImplicit ¶
func ASAuthorizationOperationImplicit() *foundation.NSString
func ASAuthorizationOperationLogin ¶
func ASAuthorizationOperationLogin() *foundation.NSString
func ASAuthorizationOperationLogout ¶
func ASAuthorizationOperationLogout() *foundation.NSString
func ASAuthorizationOperationRefresh ¶
func ASAuthorizationOperationRefresh() *foundation.NSString
func ASAuthorizationProviderAuthorizationOperationConfigurationRemoved ¶
func ASAuthorizationProviderAuthorizationOperationConfigurationRemoved() *foundation.NSString
@abstract Operation which is invoked when the extension configuration is removed from the system.
func ASAuthorizationProviderAuthorizationOperationDirectRequest ¶
func ASAuthorizationProviderAuthorizationOperationDirectRequest() *foundation.NSString
@abstract Operation which is invoked when a request is sent direct to the extension instead of loaded in an ASWebAuthenticationSession.
func ASAuthorizationProviderExtensionEncryptionAlgorithmECDHE_A256GCM ¶
func ASAuthorizationProviderExtensionEncryptionAlgorithmECDHE_A256GCM() uintptr
A encryption algorithm that uses NIST P-256 elliptic curve key agreement, ConcatKDF key derivation with a 256-bit digest, and the Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.
func ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_Curve25519_SHA256_ChachaPoly ¶
func ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_Curve25519_SHA256_ChachaPoly() uintptr
A cipher suite for HPKE that uses X25519 elliptic curve key agreement, SHA-2 key derivation with a 256-bit digest, and the ChaCha20 stream cipher with the Poly1305 message authentication code.
func ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_P256_SHA256_AES_GCM_256 ¶
func ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_P256_SHA256_AES_GCM_256() uintptr
A cipher suite for HPKE that uses NIST P-256 elliptic curve key agreement, SHA-2 key derivation with a 256-bit digest, and the Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.
func ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_P384_SHA384_AES_GCM_256 ¶
func ASAuthorizationProviderExtensionEncryptionAlgorithmHPKE_P384_SHA384_AES_GCM_256() uintptr
A cipher suite that you use for HPKE using NIST P-384 elliptic curve key agreement, SHA-2 key derivation with a 384-bit digest, and the Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.
func ASAuthorizationProviderExtensionLoginConfigurationConfigurationWithOpenIDConfigurationURLClientIDIssuerCompletion ¶
func ASAuthorizationProviderExtensionLoginConfigurationConfigurationWithOpenIDConfigurationURLClientIDIssuerCompletion(openIDConfigurationURL *foundation.NSURL, clientID *foundation.NSString, issuer *foundation.NSString, completion func(*ASAuthorizationProviderExtensionLoginConfiguration, unsafe.Pointer))
Creates a login configuration using the OpenID configuration.
func ASAuthorizationProviderExtensionSigningAlgorithmES256 ¶
func ASAuthorizationProviderExtensionSigningAlgorithmES256() uintptr
func ASAuthorizationProviderExtensionSigningAlgorithmES384 ¶
func ASAuthorizationProviderExtensionSigningAlgorithmES384() uintptr
func ASAuthorizationProviderExtensionSigningAlgorithmEd25519 ¶
func ASAuthorizationProviderExtensionSigningAlgorithmEd25519() uintptr
func ASAuthorizationPublicKeyCredentialAttestationKindDirect ¶
func ASAuthorizationPublicKeyCredentialAttestationKindDirect() *foundation.NSString
func ASAuthorizationPublicKeyCredentialAttestationKindEnterprise ¶
func ASAuthorizationPublicKeyCredentialAttestationKindEnterprise() *foundation.NSString
func ASAuthorizationPublicKeyCredentialAttestationKindIndirect ¶
func ASAuthorizationPublicKeyCredentialAttestationKindIndirect() *foundation.NSString
func ASAuthorizationPublicKeyCredentialAttestationKindNone ¶
func ASAuthorizationPublicKeyCredentialAttestationKindNone() *foundation.NSString
func ASAuthorizationPublicKeyCredentialResidentKeyPreferenceDiscouraged ¶
func ASAuthorizationPublicKeyCredentialResidentKeyPreferenceDiscouraged() *foundation.NSString
func ASAuthorizationPublicKeyCredentialResidentKeyPreferencePreferred ¶
func ASAuthorizationPublicKeyCredentialResidentKeyPreferencePreferred() *foundation.NSString
func ASAuthorizationPublicKeyCredentialResidentKeyPreferenceRequired ¶
func ASAuthorizationPublicKeyCredentialResidentKeyPreferenceRequired() *foundation.NSString
func ASAuthorizationPublicKeyCredentialUserVerificationPreferenceDiscouraged ¶
func ASAuthorizationPublicKeyCredentialUserVerificationPreferenceDiscouraged() *foundation.NSString
func ASAuthorizationPublicKeyCredentialUserVerificationPreferencePreferred ¶
func ASAuthorizationPublicKeyCredentialUserVerificationPreferencePreferred() *foundation.NSString
func ASAuthorizationPublicKeyCredentialUserVerificationPreferenceRequired ¶
func ASAuthorizationPublicKeyCredentialUserVerificationPreferenceRequired() *foundation.NSString
func ASAuthorizationScopeEmail ¶
func ASAuthorizationScopeEmail() *foundation.NSString
func ASAuthorizationScopeFullName ¶
func ASAuthorizationScopeFullName() *foundation.NSString
func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportBluetooth ¶
func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportBluetooth() uintptr
func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportNFC ¶
func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportNFC() uintptr
func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportUSB ¶
func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportUSB() uintptr
func ASAuthorizationWebBrowserPublicKeyCredentialManagerIsDeviceConfiguredForPasskeys ¶
func ASAuthorizationWebBrowserPublicKeyCredentialManagerIsDeviceConfiguredForPasskeys() bool
func ASCredentialIdentityStoreErrorDomain ¶
func ASCredentialIdentityStoreErrorDomain() *foundation.NSString
func ASExtensionErrorDomain ¶
func ASExtensionErrorDomain() *foundation.NSString
func ASSettingsHelperOpenCredentialProviderAppSettingsWithCompletionHandler ¶
func ASSettingsHelperOpenCredentialProviderAppSettingsWithCompletionHandler(completionHandler func(unsafe.Pointer))
Open the Settings app and navigate to the AutoFill provider settings.
func ASSettingsHelperOpenVerificationCodeAppSettingsWithCompletionHandler ¶
func ASSettingsHelperOpenVerificationCodeAppSettingsWithCompletionHandler(completionHandler func(unsafe.Pointer))
Open the Settings app and navigate to the verification code provider settings.
func ASSettingsHelperRequestToTurnOnCredentialProviderExtensionWithCompletionHandler ¶
func ASSettingsHelperRequestToTurnOnCredentialProviderExtensionWithCompletionHandler(completionHandler func(bool))
Call this method from your containing app to request to turn on a contained Credential Provider Extension. If the extension is not currently enabled, a prompt will be shown to allow it to be turned on. The completion handler is called with YES or NO depending on whether the credential provider is enabled. You need to wait 10 seconds in order to make additional request to this API.
func ASWebAuthenticationSessionErrorDomain ¶
func ASWebAuthenticationSessionErrorDomain() *foundation.NSString
func SymbolAvailable ¶
SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.
Types ¶
type ASAuthorization ¶
type ASAuthorization struct {
foundation.NSObject
}
The encapsulation of a successful authorization by a controller.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorization
func ASAuthorizationFromID ¶
func ASAuthorizationFromID(id objc.ID) *ASAuthorization
func (*ASAuthorization) Credential ¶
func (o *ASAuthorization) Credential() ASAuthorizationCredential
@abstract The credential that was returned by the authorization provider. Authorization provider type should be used to determine how to introspect the credential.
func (*ASAuthorization) Provider ¶
func (o *ASAuthorization) Provider() ASAuthorizationProvider
@abstract Provider which was used to generate this authorization response.
type ASAuthorizationAppleIDButton ¶
A control you add to your interface that enables users to initiate the Sign In with Apple flow.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidbutton
func ASAuthorizationAppleIDButtonButtonWithTypeStyle ¶
func ASAuthorizationAppleIDButtonButtonWithTypeStyle(type_ ASAuthorizationAppleIDButtonType, style ASAuthorizationAppleIDButtonStyle) *ASAuthorizationAppleIDButton
Creates a new Sign In with Apple authorization button with the given type and style.
func ASAuthorizationAppleIDButtonFromID ¶
func ASAuthorizationAppleIDButtonFromID(id objc.ID) *ASAuthorizationAppleIDButton
func (*ASAuthorizationAppleIDButton) CornerRadius ¶
func (o *ASAuthorizationAppleIDButton) CornerRadius() float64
func (*ASAuthorizationAppleIDButton) InitWithAuthorizationButtonTypeAuthorizationButtonStyle ¶
func (o *ASAuthorizationAppleIDButton) InitWithAuthorizationButtonTypeAuthorizationButtonStyle(type_ ASAuthorizationAppleIDButtonType, style ASAuthorizationAppleIDButtonStyle) *ASAuthorizationAppleIDButton
Creates a new Sign In with Apple authorization button with the given type and style.
func (*ASAuthorizationAppleIDButton) SetCornerRadius ¶
func (o *ASAuthorizationAppleIDButton) SetCornerRadius(cornerRadius float64)
type ASAuthorizationAppleIDButtonStyle ¶
type ASAuthorizationAppleIDButtonStyle int64
A style for the authorization button.
const ( ASAuthorizationAppleIDButtonStyleWhite ASAuthorizationAppleIDButtonStyle = 0 ASAuthorizationAppleIDButtonStyleWhiteOutline ASAuthorizationAppleIDButtonStyle = 1 ASAuthorizationAppleIDButtonStyleBlack ASAuthorizationAppleIDButtonStyle = 2 )
func (ASAuthorizationAppleIDButtonStyle) String ¶
func (e ASAuthorizationAppleIDButtonStyle) String() string
type ASAuthorizationAppleIDButtonType ¶
type ASAuthorizationAppleIDButtonType int64
A type for the authorization button.
const ( ASAuthorizationAppleIDButtonTypeSignIn ASAuthorizationAppleIDButtonType = 0 ASAuthorizationAppleIDButtonTypeContinue ASAuthorizationAppleIDButtonType = 1 ASAuthorizationAppleIDButtonTypeSignUp ASAuthorizationAppleIDButtonType = 2 ASAuthorizationAppleIDButtonTypeDefault ASAuthorizationAppleIDButtonType = 0 )
func (ASAuthorizationAppleIDButtonType) String ¶
func (e ASAuthorizationAppleIDButtonType) String() string
type ASAuthorizationAppleIDCredential ¶
type ASAuthorizationAppleIDCredential struct {
foundation.NSObject
}
A credential that results from a successful Apple ID authentication.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidcredential
func ASAuthorizationAppleIDCredentialFromID ¶
func ASAuthorizationAppleIDCredentialFromID(id objc.ID) *ASAuthorizationAppleIDCredential
func (*ASAuthorizationAppleIDCredential) AuthorizationCode ¶
func (o *ASAuthorizationAppleIDCredential) AuthorizationCode() *foundation.NSData
@abstract A short-lived, one-time valid token that provides proof of authorization to the server component of the app. The authorization code is bound to the specific transaction using the state attribute passed in the authorization request. The server component of the app can validate the code using Apple’s identity service endpoint provided for this purpose.
func (*ASAuthorizationAppleIDCredential) AuthorizedScopes ¶
func (o *ASAuthorizationAppleIDCredential) AuthorizedScopes() *foundation.NSArray[*foundation.NSString]
@abstract This value will contain a list of scopes for which the user provided authorization. These may contain a subset of the requested scopes on @see ASAuthorizationAppleIDRequest. The application should query this value to identify which scopes were returned as it maybe different from ones requested.
func (*ASAuthorizationAppleIDCredential) Email ¶
func (o *ASAuthorizationAppleIDCredential) Email() *foundation.NSString
@abstract An optional email shared by the user. This field is populated with a value that the user authorized.
func (*ASAuthorizationAppleIDCredential) FullName ¶
func (o *ASAuthorizationAppleIDCredential) FullName() *foundation.NSPersonNameComponents
@abstract An optional full name shared by the user. This field is populated with a value that the user authorized.
func (*ASAuthorizationAppleIDCredential) IdentityToken ¶
func (o *ASAuthorizationAppleIDCredential) IdentityToken() *foundation.NSData
@abstract A JSON Web Token (JWT) used to communicate information about the identity of the user in a secure way to the app. The ID token will contain the following information: Issuer Identifier, Subject Identifier, Audience, Expiry Time and Issuance Time signed by Apple's identity service.
func (*ASAuthorizationAppleIDCredential) RealUserStatus ¶
func (o *ASAuthorizationAppleIDCredential) RealUserStatus() ASUserDetectionStatus
@abstract Check this property for a hint as to whether the current user is a "real user". @see ASUserDetectionStatus for guidelines on handling each status
func (*ASAuthorizationAppleIDCredential) State ¶
func (o *ASAuthorizationAppleIDCredential) State() *foundation.NSString
@abstract A copy of the state value that was passed to ASAuthorizationRequest.
func (*ASAuthorizationAppleIDCredential) User ¶
func (o *ASAuthorizationAppleIDCredential) User() *foundation.NSString
@abstract An opaque user ID associated with the AppleID used for the sign in. This identifier will be stable across the 'developer team', it can later be used as an input to @see ASAuthorizationRequest to request user contact information. The identifier will remain stable as long as the user is connected with the requesting client. The value may change upon user disconnecting from the identity provider.
func (*ASAuthorizationAppleIDCredential) UserAgeRange ¶
func (o *ASAuthorizationAppleIDCredential) UserAgeRange() ASUserAgeRange
@abstract Check this property to determine whether the current user is a child. @see ASUserAgeRange for guidelines on handling each status.
type ASAuthorizationAppleIDProvider ¶
type ASAuthorizationAppleIDProvider struct {
foundation.NSObject
}
A mechanism for generating requests to authenticate users based on their Apple ID.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidprovider
func ASAuthorizationAppleIDProviderFromID ¶
func ASAuthorizationAppleIDProviderFromID(id objc.ID) *ASAuthorizationAppleIDProvider
func (*ASAuthorizationAppleIDProvider) CreateRequest ¶
func (o *ASAuthorizationAppleIDProvider) CreateRequest() *ASAuthorizationAppleIDRequest
Creates a new Apple ID authorization request.
func (*ASAuthorizationAppleIDProvider) GetCredentialStateForUserIDCompletion ¶
func (o *ASAuthorizationAppleIDProvider) GetCredentialStateForUserIDCompletion(userID *foundation.NSString, completion func(ASAuthorizationAppleIDProviderCredentialState, unsafe.Pointer))
Returns the credential state for the given user in a completion handler.
type ASAuthorizationAppleIDProviderCredentialState ¶
type ASAuthorizationAppleIDProviderCredentialState int64
Possible values for the credential state of a user.
const ( ASAuthorizationAppleIDProviderCredentialRevoked ASAuthorizationAppleIDProviderCredentialState = 0 ASAuthorizationAppleIDProviderCredentialAuthorized ASAuthorizationAppleIDProviderCredentialState = 1 ASAuthorizationAppleIDProviderCredentialNotFound ASAuthorizationAppleIDProviderCredentialState = 2 ASAuthorizationAppleIDProviderCredentialTransferred ASAuthorizationAppleIDProviderCredentialState = 3 )
func (ASAuthorizationAppleIDProviderCredentialState) String ¶
func (e ASAuthorizationAppleIDProviderCredentialState) String() string
type ASAuthorizationAppleIDRequest ¶
type ASAuthorizationAppleIDRequest struct {
ASAuthorizationOpenIDRequest
}
An OpenID authorization request that relies on the user’s Apple ID.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidrequest
func ASAuthorizationAppleIDRequestFromID ¶
func ASAuthorizationAppleIDRequestFromID(id objc.ID) *ASAuthorizationAppleIDRequest
func (*ASAuthorizationAppleIDRequest) SetUser ¶
func (o *ASAuthorizationAppleIDRequest) SetUser(user *foundation.NSString)
func (*ASAuthorizationAppleIDRequest) User ¶
func (o *ASAuthorizationAppleIDRequest) User() *foundation.NSString
type ASAuthorizationController ¶
type ASAuthorizationController struct {
foundation.NSObject
}
A controller that manages authorization requests that a provider creates.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationcontroller
func ASAuthorizationControllerFromID ¶
func ASAuthorizationControllerFromID(id objc.ID) *ASAuthorizationController
func (*ASAuthorizationController) AuthorizationRequests ¶
func (o *ASAuthorizationController) AuthorizationRequests() *foundation.NSArray[*ASAuthorizationRequest]
@abstract Authorization requests that are being serviced by this controller
func (*ASAuthorizationController) Cancel ¶
func (o *ASAuthorizationController) Cancel()
Cancels any active authorization requests.
func (*ASAuthorizationController) Delegate ¶
func (o *ASAuthorizationController) Delegate() ASAuthorizationControllerDelegate
@abstract This delegate will be invoked upon completion of the authorization indicating success or failure. Delegate is required to receive the results of authorization.
func (*ASAuthorizationController) InitWithAuthorizationRequests ¶
func (o *ASAuthorizationController) InitWithAuthorizationRequests(authorizationRequests *foundation.NSArray[*ASAuthorizationRequest]) *ASAuthorizationController
Creates a controller from a collection of authorization requests.
func (*ASAuthorizationController) PerformRequests ¶
func (o *ASAuthorizationController) PerformRequests()
Starts the specified authorization flows during controller initialization.
func (*ASAuthorizationController) PerformRequestsWithOptions ¶
func (o *ASAuthorizationController) PerformRequestsWithOptions(options ASAuthorizationControllerRequestOptions)
Starts the specified authorization flows during controller initialization.
func (*ASAuthorizationController) PresentationContextProvider ¶
func (o *ASAuthorizationController) PresentationContextProvider() ASAuthorizationControllerPresentationContextProviding
@abstract This delegate will be invoked upon needing a presentation context to display authorization UI.
func (*ASAuthorizationController) SetDelegate ¶
func (o *ASAuthorizationController) SetDelegate(delegate ASAuthorizationControllerDelegate)
func (*ASAuthorizationController) SetPresentationContextProvider ¶
func (o *ASAuthorizationController) SetPresentationContextProvider(presentationContextProvider ASAuthorizationControllerPresentationContextProviding)
type ASAuthorizationControllerDelegate ¶
type ASAuthorizationControllerDelegate interface {
}
ASAuthorizationControllerDelegate wraps the ObjC protocol ASAuthorizationControllerDelegate.
type ASAuthorizationControllerPresentationContextProviding ¶
type ASAuthorizationControllerPresentationContextProviding interface {
PresentationAnchorForAuthorizationController(controller *ASAuthorizationController) *appkit.NSWindow
}
ASAuthorizationControllerPresentationContextProviding wraps the ObjC protocol ASAuthorizationControllerPresentationContextProviding.
type ASAuthorizationControllerRequestOptions ¶
type ASAuthorizationControllerRequestOptions uint64
Options that modify how a controller performs authorization requests.
const ( // When used for sign-in requests, tell the authorization controller that it should only be presented if there are credentials immediately available on the local device. When used for registration requests, tell the authorization controller that it should only be presented if the local device is currently set up to fulfill at least one of the request types. ASAuthorizationControllerRequestOptionPreferImmediatelyAvailableCredentials ASAuthorizationControllerRequestOptions = 1 )
func (ASAuthorizationControllerRequestOptions) String ¶
func (e ASAuthorizationControllerRequestOptions) String() string
type ASAuthorizationCredential ¶
type ASAuthorizationCredential interface {
foundation.NSCopying
foundation.NSSecureCoding
}
ASAuthorizationCredential wraps the ObjC protocol ASAuthorizationCredential.
type ASAuthorizationError ¶
type ASAuthorizationError int64
Errors that can occur during authorization.
const ( ASAuthorizationErrorUnknown ASAuthorizationError = 1000 ASAuthorizationErrorCanceled ASAuthorizationError = 1001 ASAuthorizationErrorInvalidResponse ASAuthorizationError = 1002 ASAuthorizationErrorNotHandled ASAuthorizationError = 1003 ASAuthorizationErrorFailed ASAuthorizationError = 1004 ASAuthorizationErrorNotInteractive ASAuthorizationError = 1005 // This error should only be returned when specifying @c excludedCredentials on a public key credential registration request. ASAuthorizationErrorMatchedExcludedCredential ASAuthorizationError = 1006 // This error signals that the import request failed. Details will be available in the `userInfo` of the NSError. ASAuthorizationErrorCredentialImport ASAuthorizationError = 1007 // This error signals that the export request failed. Details will be available in the `userInfo` of the NSError. ASAuthorizationErrorCredentialExport ASAuthorizationError = 1008 // This error signals the user has an existing Sign in with Apple account that they would prefer to use instead of continuing the current request. ASAuthorizationErrorPreferSignInWithApple ASAuthorizationError = 1009 // This error signals that the device is not currently set up to create passkeys. ASAuthorizationErrorDeviceNotConfiguredForPasskeyCreation ASAuthorizationError = 1010 )
func (ASAuthorizationError) String ¶
func (e ASAuthorizationError) String() string
type ASAuthorizationOpenIDRequest ¶
type ASAuthorizationOpenIDRequest struct {
ASAuthorizationRequest
}
An OpenID authorization request.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest
func ASAuthorizationOpenIDRequestFromID ¶
func ASAuthorizationOpenIDRequestFromID(id objc.ID) *ASAuthorizationOpenIDRequest
func (*ASAuthorizationOpenIDRequest) Nonce ¶
func (o *ASAuthorizationOpenIDRequest) Nonce() *foundation.NSString
@abstract Nonce to be passed to the identity provider. This value can be verified with the identity token provided as a part of successful ASAuthorization response. @note The nonce size may depend on the actual technology used and an error might be returned by the request execution.
func (*ASAuthorizationOpenIDRequest) RequestedOperation ¶
func (o *ASAuthorizationOpenIDRequest) RequestedOperation() *foundation.NSString
@abstract Operation to be executed by the request. The ASAuthorizationOperationImplicit operation interpretation depends on the credential provider implementation.
func (*ASAuthorizationOpenIDRequest) RequestedScopes ¶
func (o *ASAuthorizationOpenIDRequest) RequestedScopes() *foundation.NSArray[*foundation.NSString]
@abstract The contact information to be requested from the user. Only scopes for which this app was authorized for will be returned.
func (*ASAuthorizationOpenIDRequest) SetNonce ¶
func (o *ASAuthorizationOpenIDRequest) SetNonce(nonce *foundation.NSString)
func (*ASAuthorizationOpenIDRequest) SetRequestedOperation ¶
func (o *ASAuthorizationOpenIDRequest) SetRequestedOperation(requestedOperation *foundation.NSString)
func (*ASAuthorizationOpenIDRequest) SetRequestedScopes ¶
func (o *ASAuthorizationOpenIDRequest) SetRequestedScopes(requestedScopes *foundation.NSArray[*foundation.NSString])
func (*ASAuthorizationOpenIDRequest) SetState ¶
func (o *ASAuthorizationOpenIDRequest) SetState(state *foundation.NSString)
func (*ASAuthorizationOpenIDRequest) State ¶
func (o *ASAuthorizationOpenIDRequest) State() *foundation.NSString
@abstract State to be passed to the identity provider. This value will be returned as a part of successful ASAuthorization response. @note The state size may depend on the actual technology used and an error might be returned by the request execution.
type ASAuthorizationPasswordProvider ¶
type ASAuthorizationPasswordProvider struct {
foundation.NSObject
}
A mechanism for generating requests to perform keychain credential sharing.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpasswordprovider
func ASAuthorizationPasswordProviderFromID ¶
func ASAuthorizationPasswordProviderFromID(id objc.ID) *ASAuthorizationPasswordProvider
func (*ASAuthorizationPasswordProvider) CreateRequest ¶
func (o *ASAuthorizationPasswordProvider) CreateRequest() *ASAuthorizationPasswordRequest
Creates a new password authorization request.
type ASAuthorizationPasswordRequest ¶
type ASAuthorizationPasswordRequest struct {
ASAuthorizationRequest
}
An authorization request that uses credentials stored in the keychain.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpasswordrequest
func ASAuthorizationPasswordRequestFromID ¶
func ASAuthorizationPasswordRequestFromID(id objc.ID) *ASAuthorizationPasswordRequest
type ASAuthorizationPlatformPublicKeyCredentialAssertion ¶
type ASAuthorizationPlatformPublicKeyCredentialAssertion struct {
foundation.NSObject
}
A class that represents the platform credential assertion type.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationplatformpublickeycredentialassertion
func ASAuthorizationPlatformPublicKeyCredentialAssertionFromID ¶
func ASAuthorizationPlatformPublicKeyCredentialAssertionFromID(id objc.ID) *ASAuthorizationPlatformPublicKeyCredentialAssertion
func (*ASAuthorizationPlatformPublicKeyCredentialAssertion) Attachment ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialAssertion) Attachment() ASAuthorizationPublicKeyCredentialAttachment
type ASAuthorizationPlatformPublicKeyCredentialAssertionRequest ¶
type ASAuthorizationPlatformPublicKeyCredentialAssertionRequest struct {
ASAuthorizationRequest
}
The concrete assertion request type for platform credentials.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationplatformpublickeycredentialassertionrequest
func ASAuthorizationPlatformPublicKeyCredentialAssertionRequestFromID ¶
func ASAuthorizationPlatformPublicKeyCredentialAssertionRequestFromID(id objc.ID) *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest
func (*ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) AllowedCredentials ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) AllowedCredentials() *foundation.NSArray[*ASAuthorizationPlatformPublicKeyCredentialDescriptor]
@abstract A list of credentials to allow for this request. If this ilist is nonempty, only credentials matching the provided descriptors can be used to sign in.
func (*ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) SetAllowedCredentials ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) SetAllowedCredentials(allowedCredentials *foundation.NSArray[*ASAuthorizationPlatformPublicKeyCredentialDescriptor])
func (*ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) SetLargeBlob ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest) SetLargeBlob(largeBlob *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput)
type ASAuthorizationPlatformPublicKeyCredentialDescriptor ¶
type ASAuthorizationPlatformPublicKeyCredentialDescriptor struct {
foundation.NSObject
}
An object that holds the credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationplatformpublickeycredentialdescriptor
func ASAuthorizationPlatformPublicKeyCredentialDescriptorFromID ¶
func ASAuthorizationPlatformPublicKeyCredentialDescriptorFromID(id objc.ID) *ASAuthorizationPlatformPublicKeyCredentialDescriptor
func (*ASAuthorizationPlatformPublicKeyCredentialDescriptor) InitWithCredentialID ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialDescriptor) InitWithCredentialID(credentialID *foundation.NSData) *ASAuthorizationPlatformPublicKeyCredentialDescriptor
Creates the descriptor with a credential.
type ASAuthorizationPlatformPublicKeyCredentialProvider ¶
type ASAuthorizationPlatformPublicKeyCredentialProvider struct {
foundation.NSObject
}
A mechanism for providing public key credential requests to an app or service with iCloud Keychain.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationplatformpublickeycredentialprovider
func ASAuthorizationPlatformPublicKeyCredentialProviderFromID ¶
func ASAuthorizationPlatformPublicKeyCredentialProviderFromID(id objc.ID) *ASAuthorizationPlatformPublicKeyCredentialProvider
func (*ASAuthorizationPlatformPublicKeyCredentialProvider) CreateCredentialAssertionRequestWithChallenge ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) CreateCredentialAssertionRequestWithChallenge(challenge *foundation.NSData) *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest
Creates an assertion request with a challenge.
func (*ASAuthorizationPlatformPublicKeyCredentialProvider) CreateCredentialRegistrationRequestWithChallengeNameUserID ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) CreateCredentialRegistrationRequestWithChallengeNameUserID(challenge *foundation.NSData, name *foundation.NSString, userID *foundation.NSData) *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
Creates a registration request with a challenge, name, and user ID.
func (*ASAuthorizationPlatformPublicKeyCredentialProvider) CreateCredentialRegistrationRequestWithChallengeNameUserIDRequestStyle ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) CreateCredentialRegistrationRequestWithChallengeNameUserIDRequestStyle(challenge *foundation.NSData, name *foundation.NSString, userID *foundation.NSData, requestStyle ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle) *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
@abstract Create a request to register a new platform credential. @param challenge The challenge to sign. @param name The user name for the new credential. @param userID An identifier to be stored alongside the credential, which will be returned with the credential when it is used to authenticate. @param requestStyle The style for this request.
func (*ASAuthorizationPlatformPublicKeyCredentialProvider) InitWithRelyingPartyIdentifier ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) InitWithRelyingPartyIdentifier(relyingPartyIdentifier *foundation.NSString) *ASAuthorizationPlatformPublicKeyCredentialProvider
Creates the object with a relying party identifier.
func (*ASAuthorizationPlatformPublicKeyCredentialProvider) RelyingPartyIdentifier ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialProvider) RelyingPartyIdentifier() *foundation.NSString
@abstract The Relying Party identifier used for all requests created by this object.
type ASAuthorizationPlatformPublicKeyCredentialRegistration ¶
type ASAuthorizationPlatformPublicKeyCredentialRegistration struct {
foundation.NSObject
}
A newly created platform credential that results from a credential registration request.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationplatformpublickeycredentialregistration
func ASAuthorizationPlatformPublicKeyCredentialRegistrationFromID ¶
func ASAuthorizationPlatformPublicKeyCredentialRegistrationFromID(id objc.ID) *ASAuthorizationPlatformPublicKeyCredentialRegistration
func (*ASAuthorizationPlatformPublicKeyCredentialRegistration) Attachment ¶
type ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest ¶
type ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest struct {
ASAuthorizationRequest
}
The object for registering a new platform public key credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationplatformpublickeycredentialregistrationrequest
func ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestFromID ¶
func ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestFromID(id objc.ID) *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
func (*ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) RequestStyle ¶
func (*ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) SetLargeBlob ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) SetLargeBlob(largeBlob *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput)
func (*ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) SetRequestStyle ¶
func (o *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest) SetRequestStyle(requestStyle ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle)
type ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle ¶
type ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle int64
const ( // Perform a request using the standard presentation style. This is the default style. ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyleStandard ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle = 0 // Perform a conditional request. This style of request is meant to opportunistically add passkeys to existing password-based accounts, at the discretion of the user's credential manager. It should be performed shortly after a user has signed in with a password. If the user is using a password and passkey manager, and certain internal conditions of that credential manager are met (e.g. the user signed in recently with a matching password-based account and does not yet have a passkey for this account), then this request may proceed automatically, without further user interaction. If any of the internal conditions are not met, this request will return an error without showing any UI to the user, and may be retried the next time they sign in. ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyleConditional ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle = 1 )
func (ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle) String ¶
func (e ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle) String() string
type ASAuthorizationProvider ¶
type ASAuthorizationProvider interface {
}
ASAuthorizationProvider wraps the ObjC protocol ASAuthorizationProvider.
type ASAuthorizationProviderExtensionAuthenticationMethod ¶
type ASAuthorizationProviderExtensionAuthenticationMethod int64
The platform single sign-on method for the user.
const ( // Password authentication. ASAuthorizationProviderExtensionAuthenticationMethodPassword ASAuthorizationProviderExtensionAuthenticationMethod = 1 // Secure Enclave key authentication. ASAuthorizationProviderExtensionAuthenticationMethodUserSecureEnclaveKey ASAuthorizationProviderExtensionAuthenticationMethod = 2 ASAuthorizationProviderExtensionAuthenticationMethodSmartCard ASAuthorizationProviderExtensionAuthenticationMethod = 3 )
func (ASAuthorizationProviderExtensionAuthenticationMethod) String ¶
func (e ASAuthorizationProviderExtensionAuthenticationMethod) String() string
type ASAuthorizationProviderExtensionAuthorizationRequest ¶
type ASAuthorizationProviderExtensionAuthorizationRequest struct {
foundation.NSObject
}
An authorization request that your provider extension handles.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationproviderextensionauthorizationrequest
func ASAuthorizationProviderExtensionAuthorizationRequestFromID ¶
func ASAuthorizationProviderExtensionAuthorizationRequestFromID(id objc.ID) *ASAuthorizationProviderExtensionAuthorizationRequest
func (*ASAuthorizationProviderExtensionAuthorizationRequest) AuthorizationOptions ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) AuthorizationOptions() *foundation.NSDictionary[objc.ID, objc.ID]
@abstract Authorization options.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) CallerAuditToken ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CallerAuditToken() *foundation.NSData
@abstract Audit token of the calling application.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) CallerBundleIdentifier ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CallerBundleIdentifier() *foundation.NSString
@abstract Identification of the calling application.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) CallerTeamIdentifier ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CallerTeamIdentifier() *foundation.NSString
@abstract Team identifier of the calling application.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) Cancel ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) Cancel()
Cancels the request, for example, because the user taps a cancel button.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) Complete ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) Complete()
Indicates the requested authorization completed with no output.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithAuthorizationResult ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithAuthorizationResult(authorizationResult *ASAuthorizationProviderExtensionAuthorizationResult)
@abstract Call when authorization succeeded with @see ASAuthorizationProviderExtensionAuthorizationResult.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithError ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithError(error_ unsafe.Pointer)
Indicates the requested authorization failed.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithHTTPAuthorizationHeaders ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithHTTPAuthorizationHeaders(httpAuthorizationHeaders *foundation.NSDictionary[*foundation.NSString, *foundation.NSString])
Indicates the requested authorization succeeded with tokens in the HTTP headers.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithHTTPResponseHttpBody ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) CompleteWithHTTPResponseHttpBody(httpResponse *foundation.NSHTTPURLResponse, httpBody *foundation.NSData)
Indicates the requested authorization succeeded with an HTTP response.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) DoNotHandle ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) DoNotHandle()
Indicates the request wasn’t handled.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) ExtensionData ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) ExtensionData() *foundation.NSDictionary[objc.ID, objc.ID]
@abstract Extension data from extension configuration provided by MDM stored as a property-list.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) HttpBody ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) HttpBody() *foundation.NSData
@abstract Request body.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) HttpHeaders ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) HttpHeaders() *foundation.NSDictionary[*foundation.NSString, *foundation.NSString]
@abstract Request HTTP headers.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) IsCallerManaged ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) IsCallerManaged() bool
@abstract Indicates whether the calling application is managed.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) IsUserInterfaceEnabled ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) IsUserInterfaceEnabled() bool
@abstract Indicates whether the authorization user interface is enabled. @discussion If user interface is not enabled, then the authorization will fail with @see ASAuthorizationErrorNotInteractive if it attempts to display the authorization user interface via @see presentAuthorizationViewControllerWithCompletion.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) LocalizedCallerDisplayName ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) LocalizedCallerDisplayName() *foundation.NSString
@abstract Localized display name of the calling application.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) LoginManager ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) LoginManager() *ASAuthorizationProviderExtensionLoginManager
@abstract The login manager to interface with the Platform SSO configuration.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) PresentAuthorizationViewControllerWithCompletion ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) PresentAuthorizationViewControllerWithCompletion(completion func(bool, unsafe.Pointer))
Asks the authorization service to show the extension’s view controller to the user.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) Realm ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) Realm() *foundation.NSString
@abstract Realm.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) RequestedOperation ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) RequestedOperation() *foundation.NSString
@abstract Operation to be executed by the extension.
func (*ASAuthorizationProviderExtensionAuthorizationRequest) Url ¶
func (o *ASAuthorizationProviderExtensionAuthorizationRequest) Url() *foundation.NSURL
@abstract Request URL with all components.
type ASAuthorizationProviderExtensionAuthorizationRequestHandler ¶
type ASAuthorizationProviderExtensionAuthorizationRequestHandler interface {
BeginAuthorizationWithRequest(request *ASAuthorizationProviderExtensionAuthorizationRequest)
}
ASAuthorizationProviderExtensionAuthorizationRequestHandler wraps the ObjC protocol ASAuthorizationProviderExtensionAuthorizationRequestHandler.
type ASAuthorizationProviderExtensionAuthorizationResult ¶
type ASAuthorizationProviderExtensionAuthorizationResult struct {
foundation.NSObject
}
The result of an authorization request.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationproviderextensionauthorizationresult
func ASAuthorizationProviderExtensionAuthorizationResultFromID ¶
func ASAuthorizationProviderExtensionAuthorizationResultFromID(id objc.ID) *ASAuthorizationProviderExtensionAuthorizationResult
func (*ASAuthorizationProviderExtensionAuthorizationResult) HttpAuthorizationHeaders ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) HttpAuthorizationHeaders() *foundation.NSDictionary[*foundation.NSString, *foundation.NSString]
@abstract HTTP extra headers for addition with credentials.
func (*ASAuthorizationProviderExtensionAuthorizationResult) HttpBody ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) HttpBody() *foundation.NSData
@abstract HTTP response body for OAUth and SAML based authentications.
func (*ASAuthorizationProviderExtensionAuthorizationResult) HttpResponse ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) HttpResponse() *foundation.NSHTTPURLResponse
@abstract HTTP response for OAUth and SAML based authentications.
func (*ASAuthorizationProviderExtensionAuthorizationResult) InitWithHTTPAuthorizationHeaders ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) InitWithHTTPAuthorizationHeaders(httpAuthorizationHeaders *foundation.NSDictionary[*foundation.NSString, *foundation.NSString]) *ASAuthorizationProviderExtensionAuthorizationResult
Initializes an authorization with tokens stored in HTTP headers.
func (*ASAuthorizationProviderExtensionAuthorizationResult) InitWithHTTPResponseHttpBody ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) InitWithHTTPResponseHttpBody(httpResponse *foundation.NSHTTPURLResponse, httpBody *foundation.NSData) *ASAuthorizationProviderExtensionAuthorizationResult
Initializes an authorization with a HTTP response and body.
func (*ASAuthorizationProviderExtensionAuthorizationResult) PrivateKeys ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) PrivateKeys() *foundation.NSArray[objc.ID]
@abstract Private SecKeys.
func (*ASAuthorizationProviderExtensionAuthorizationResult) SetHttpAuthorizationHeaders ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) SetHttpAuthorizationHeaders(httpAuthorizationHeaders *foundation.NSDictionary[*foundation.NSString, *foundation.NSString])
func (*ASAuthorizationProviderExtensionAuthorizationResult) SetHttpBody ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) SetHttpBody(httpBody *foundation.NSData)
func (*ASAuthorizationProviderExtensionAuthorizationResult) SetHttpResponse ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) SetHttpResponse(httpResponse *foundation.NSHTTPURLResponse)
func (*ASAuthorizationProviderExtensionAuthorizationResult) SetPrivateKeys ¶
func (o *ASAuthorizationProviderExtensionAuthorizationResult) SetPrivateKeys(privateKeys *foundation.NSArray[objc.ID])
type ASAuthorizationProviderExtensionFederationType ¶
type ASAuthorizationProviderExtensionFederationType int64
const ( ASAuthorizationProviderExtensionFederationTypeNone ASAuthorizationProviderExtensionFederationType = 0 ASAuthorizationProviderExtensionFederationTypeWSTrust ASAuthorizationProviderExtensionFederationType = 1 ASAuthorizationProviderExtensionFederationTypeDynamicWSTrust ASAuthorizationProviderExtensionFederationType = 2 )
func (ASAuthorizationProviderExtensionFederationType) String ¶
func (e ASAuthorizationProviderExtensionFederationType) String() string
type ASAuthorizationProviderExtensionKerberosMapping ¶
type ASAuthorizationProviderExtensionKerberosMapping struct {
foundation.NSObject
}
A set of Kerberos mappings that the system login process uses.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationproviderextensionkerberosmapping
func ASAuthorizationProviderExtensionKerberosMappingFromID ¶
func ASAuthorizationProviderExtensionKerberosMappingFromID(id objc.ID) *ASAuthorizationProviderExtensionKerberosMapping
func (*ASAuthorizationProviderExtensionKerberosMapping) ClientNameKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) ClientNameKeyName() *foundation.NSString
@abstract The key name that contains the Kerberos client name string.
func (*ASAuthorizationProviderExtensionKerberosMapping) EncryptionKeyTypeKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) EncryptionKeyTypeKeyName() *foundation.NSString
@abstract The key name that contains the Kerberos session key type number. @discussion The value for this key should be the correct encryption type per RFC3962, section 7 for the session key.
func (*ASAuthorizationProviderExtensionKerberosMapping) MessageBufferKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) MessageBufferKeyName() *foundation.NSString
@abstract The key name that contains the base64 encoded kerberos AS-REP string.
func (*ASAuthorizationProviderExtensionKerberosMapping) RealmKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) RealmKeyName() *foundation.NSString
@abstract The key name that contains the Kerberos Realm string.
func (*ASAuthorizationProviderExtensionKerberosMapping) ServiceNameKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) ServiceNameKeyName() *foundation.NSString
@abstract The key name that contains the Kerberos service name string.
func (*ASAuthorizationProviderExtensionKerberosMapping) SessionKeyKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) SessionKeyKeyName() *foundation.NSString
@abstract The key name that contains the Kerberos session key.
func (*ASAuthorizationProviderExtensionKerberosMapping) SetClientNameKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) SetClientNameKeyName(clientNameKeyName *foundation.NSString)
func (*ASAuthorizationProviderExtensionKerberosMapping) SetEncryptionKeyTypeKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) SetEncryptionKeyTypeKeyName(encryptionKeyTypeKeyName *foundation.NSString)
func (*ASAuthorizationProviderExtensionKerberosMapping) SetMessageBufferKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) SetMessageBufferKeyName(messageBufferKeyName *foundation.NSString)
func (*ASAuthorizationProviderExtensionKerberosMapping) SetRealmKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) SetRealmKeyName(realmKeyName *foundation.NSString)
func (*ASAuthorizationProviderExtensionKerberosMapping) SetServiceNameKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) SetServiceNameKeyName(serviceNameKeyName *foundation.NSString)
func (*ASAuthorizationProviderExtensionKerberosMapping) SetSessionKeyKeyName ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) SetSessionKeyKeyName(sessionKeyKeyName *foundation.NSString)
func (*ASAuthorizationProviderExtensionKerberosMapping) SetTicketKeyPath ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) SetTicketKeyPath(ticketKeyPath *foundation.NSString)
func (*ASAuthorizationProviderExtensionKerberosMapping) TicketKeyPath ¶
func (o *ASAuthorizationProviderExtensionKerberosMapping) TicketKeyPath() *foundation.NSString
@abstract The keypath in the response JSON that uses this set of mappings. @discussion If the response tokens from login contain this keypath, then the mapping in this class will be used to create a Kerberos ticket. The expected response is a JSON dictionary with the supplied key names.
type ASAuthorizationProviderExtensionKeyType ¶
type ASAuthorizationProviderExtensionKeyType int64
The key types for platform single sign-on.
const ( // The user device signing key. ASAuthorizationProviderExtensionKeyTypeUserDeviceSigning ASAuthorizationProviderExtensionKeyType = 1 // The user device encryption key. ASAuthorizationProviderExtensionKeyTypeUserDeviceEncryption ASAuthorizationProviderExtensionKeyType = 2 // The user Secure Enclave key. ASAuthorizationProviderExtensionKeyTypeUserSecureEnclaveKey ASAuthorizationProviderExtensionKeyType = 3 ASAuthorizationProviderExtensionKeyTypeSharedDeviceSigning ASAuthorizationProviderExtensionKeyType = 4 ASAuthorizationProviderExtensionKeyTypeSharedDeviceEncryption ASAuthorizationProviderExtensionKeyType = 5 // The currentdevice signing key. ASAuthorizationProviderExtensionKeyTypeCurrentDeviceSigning ASAuthorizationProviderExtensionKeyType = 10 // The current device encryption key. ASAuthorizationProviderExtensionKeyTypeCurrentDeviceEncryption ASAuthorizationProviderExtensionKeyType = 11 ASAuthorizationProviderExtensionKeyTypeUserSmartCard ASAuthorizationProviderExtensionKeyType = 20 )
func (ASAuthorizationProviderExtensionKeyType) String ¶
func (e ASAuthorizationProviderExtensionKeyType) String() string
type ASAuthorizationProviderExtensionLoginConfiguration ¶
type ASAuthorizationProviderExtensionLoginConfiguration struct {
foundation.NSObject
}
An interface for configuring platform single sign-on.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationproviderextensionloginconfiguration
func ASAuthorizationProviderExtensionLoginConfigurationFromID ¶
func ASAuthorizationProviderExtensionLoginConfigurationFromID(id objc.ID) *ASAuthorizationProviderExtensionLoginConfiguration
func (*ASAuthorizationProviderExtensionLoginConfiguration) AccountDisplayName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) AccountDisplayName() *foundation.NSString
@abstract The display name for the account. Used for notifications and login prompts.
func (*ASAuthorizationProviderExtensionLoginConfiguration) AdditionalAuthorizationScopes ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) AdditionalAuthorizationScopes() *foundation.NSString
@abstract Additional authorization scopes.
func (*ASAuthorizationProviderExtensionLoginConfiguration) AdditionalScopes ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) AdditionalScopes() *foundation.NSString
@abstract Additional login scopes.
func (*ASAuthorizationProviderExtensionLoginConfiguration) Audience ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) Audience() *foundation.NSString
@abstract The audience for validation and requests.
func (*ASAuthorizationProviderExtensionLoginConfiguration) ClientID ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) ClientID() *foundation.NSString
@abstract The login client_id.
func (*ASAuthorizationProviderExtensionLoginConfiguration) CustomFederationUserPreauthenticationRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomFederationUserPreauthenticationRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
@abstract The custom query string values to add when making the preauthenticaion request.
func (*ASAuthorizationProviderExtensionLoginConfiguration) CustomKeyExchangeRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomKeyExchangeRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
@abstract Custom values added to the key exchange POST request body.
func (*ASAuthorizationProviderExtensionLoginConfiguration) CustomKeyRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomKeyRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
@abstract Custom values added to the key request POST request body.
func (*ASAuthorizationProviderExtensionLoginConfiguration) CustomLoginRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomLoginRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
@abstract Custom values added to the login POST request body.
func (*ASAuthorizationProviderExtensionLoginConfiguration) CustomNonceRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomNonceRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
@abstract Custom values added to the server nonce POST request body.
func (*ASAuthorizationProviderExtensionLoginConfiguration) CustomRefreshRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomRefreshRequestValues() *foundation.NSArray[*foundation.NSURLQueryItem]
@abstract Custom values added to the refresh POST request body.
func (*ASAuthorizationProviderExtensionLoginConfiguration) CustomRequestJWTParameterName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) CustomRequestJWTParameterName() *foundation.NSString
@abstract The request parameter name for the JWT. The default is "assertion".
func (*ASAuthorizationProviderExtensionLoginConfiguration) DeviceContext ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) DeviceContext() *foundation.NSData
@abstract The device context for storing device meta data.
func (*ASAuthorizationProviderExtensionLoginConfiguration) FederationMEXURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationMEXURL() *foundation.NSURL
@abstract The federation MEX URL to use. This can be overwritten when using dynamic federation.
func (*ASAuthorizationProviderExtensionLoginConfiguration) FederationMEXURLKeypath ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationMEXURLKeypath() *foundation.NSString
@abstract The claim in the preauthentication response that contains the MEX URL.
func (*ASAuthorizationProviderExtensionLoginConfiguration) FederationPredicate ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationPredicate() *foundation.NSString
@abstract The predicate to apply to the preauthentication response to perform federation or not.
func (*ASAuthorizationProviderExtensionLoginConfiguration) FederationRequestURN ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationRequestURN() *foundation.NSString
@abstract The URN to request when performing a federated login.
func (*ASAuthorizationProviderExtensionLoginConfiguration) FederationType ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationType() ASAuthorizationProviderExtensionFederationType
@abstract The federation method to use.
func (*ASAuthorizationProviderExtensionLoginConfiguration) FederationUserPreauthenticationURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) FederationUserPreauthenticationURL() *foundation.NSURL
@abstract The URL to use when performing dynamic federation.
func (*ASAuthorizationProviderExtensionLoginConfiguration) GroupRequestClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) GroupRequestClaimName() *foundation.NSString
@abstract The claim name for group membership request.
func (*ASAuthorizationProviderExtensionLoginConfiguration) GroupResponseClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) GroupResponseClaimName() *foundation.NSString
@abstract The claim name for group responses in the id_token.
func (*ASAuthorizationProviderExtensionLoginConfiguration) HpkeAuthPublicKey ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) HpkeAuthPublicKey() unsafe.Pointer
@abstract The Authentication public key to be used for HPKE. Setting this value with changet the mode to Auth or AuthPSK if the hpkePreSharedKey is also set. This public key is used to authenticate HPKE responses.
func (*ASAuthorizationProviderExtensionLoginConfiguration) HpkePreSharedKey ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) HpkePreSharedKey() *foundation.NSData
@abstract The PreSharedKey to be used for HKPE. Setting this value will change the mode to PSK or AuthPSK if the hpkeAuthPublicKey is also set. Must be at least 32 bytes.
func (*ASAuthorizationProviderExtensionLoginConfiguration) HpkePreSharedKeyID ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) HpkePreSharedKeyID() *foundation.NSData
@abstract The PreSharedKey Id to be used for HPKE PSK or AuthPSK mode. This is requred if the hpkePreSharedKey is set.
func (*ASAuthorizationProviderExtensionLoginConfiguration) IncludePreviousRefreshTokenInLoginRequest ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) IncludePreviousRefreshTokenInLoginRequest() bool
@abstract If true and there is a refresh token for the user in the SSO tokens, it will be included in the login request.
func (*ASAuthorizationProviderExtensionLoginConfiguration) InitWithClientIDIssuerTokenEndpointURLJwksEndpointURLAudience ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) InitWithClientIDIssuerTokenEndpointURLJwksEndpointURLAudience(clientID *foundation.NSString, issuer *foundation.NSString, tokenEndpointURL *foundation.NSURL, jwksEndpointURL *foundation.NSURL, audience *foundation.NSString) *ASAuthorizationProviderExtensionLoginConfiguration
Creates a configuration with the required values.
func (*ASAuthorizationProviderExtensionLoginConfiguration) InvalidCredentialPredicate ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) InvalidCredentialPredicate() *foundation.NSString
@abstract Predicate string used to identify invalid credential errors. @discussion If there is an HTTP 400 or HTTP 401 error when authenticating, this predicate will be used on the response body JSON to determine if the error is due to an invalid password or something else. If nil, then only an HTTP 401 will be used for an invalid credential.
func (*ASAuthorizationProviderExtensionLoginConfiguration) Issuer ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) Issuer() *foundation.NSString
@abstract The issuer for validation.
func (*ASAuthorizationProviderExtensionLoginConfiguration) JwksEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) JwksEndpointURL() *foundation.NSURL
@abstract JWKS Endpoint URL for keys.
func (*ASAuthorizationProviderExtensionLoginConfiguration) JwksTrustedRootCertificates ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) JwksTrustedRootCertificates() *foundation.NSArray[objc.ID]
@abstract The root certificates to use for trust evaluation of jwks keys. @discussion if set, certificates will be required in jwks responses and evaluated using the supplied certificates. If the jwks certificates are missing or fail trust evaluation the login will fail.
func (*ASAuthorizationProviderExtensionLoginConfiguration) KerberosTicketMappings ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) KerberosTicketMappings() *foundation.NSArray[*ASAuthorizationProviderExtensionKerberosMapping]
@abstract The Kerberos ticket mappings to use.
func (*ASAuthorizationProviderExtensionLoginConfiguration) KeyEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) KeyEndpointURL() *foundation.NSURL
@abstract The url endpoint for key service, defaults to token tokenEndpointURL.
func (*ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestEncryptionAPVPrefix ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestEncryptionAPVPrefix() *foundation.NSData
@abstract The APV prefix used for encrypted embedded login assertions.
func (*ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestEncryptionAlgorithm ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestEncryptionAlgorithm() *foundation.NSNumber
@abstract The encryption algorithm to use for the embedded login assertion.
func (*ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestEncryptionPublicKey ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestEncryptionPublicKey() unsafe.Pointer
@abstract The public key to use for encrypting the embedded login assertion. @discussion Only applies to password authentication. If set, the password will encrypted in an embedded assertion instead of the login request itself.
func (*ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestHPKEPreSharedKey ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestHPKEPreSharedKey() *foundation.NSData
@abstract The PreSharedKey to be used for HKPE for embedded login assertions. Setting this value will change the mode to PSK if the loginRequestHPKEPreSharedKeyID is also set. Must be at least 32 bytes.
func (*ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestHPKEPreSharedKeyID ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) LoginRequestHPKEPreSharedKeyID() *foundation.NSData
@abstract The PreSharedKey Id to be used for HPKE PSK for embedded login assertions. This is required if the loginRequestHPKEPreSharedKey is set.
func (*ASAuthorizationProviderExtensionLoginConfiguration) NonceEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) NonceEndpointURL() *foundation.NSURL
@abstract Nonce Endpoint URL, defaults to token tokenEndpointURL.
func (*ASAuthorizationProviderExtensionLoginConfiguration) NonceResponseKeypath ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) NonceResponseKeypath() *foundation.NSString
@abstract The keypath in the nonce response that contains the nonce value.
func (*ASAuthorizationProviderExtensionLoginConfiguration) PreviousRefreshTokenClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) PreviousRefreshTokenClaimName() *foundation.NSString
@abstract The claim name for the previous SSO token value in the login request.
func (*ASAuthorizationProviderExtensionLoginConfiguration) RefreshEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) RefreshEndpointURL() *foundation.NSURL
@abstract Token Refresh Endpoint URL for login request. Defaults to the tokenEndpointURL.
func (*ASAuthorizationProviderExtensionLoginConfiguration) ServerNonceClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) ServerNonceClaimName() *foundation.NSString
@abstract The name of the server nonce claim when included in authentication requests.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetAccountDisplayName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetAccountDisplayName(accountDisplayName *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetAdditionalAuthorizationScopes ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetAdditionalAuthorizationScopes(additionalAuthorizationScopes *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetAdditionalScopes ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetAdditionalScopes(additionalScopes *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetAudience ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetAudience(audience *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomAssertionRequestBodyClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomAssertionRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Adds the custom claims to the embedded assertion request body.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomAssertionRequestHeaderClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomAssertionRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Adds the custom claims to the embedded assertion request header.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomFederationUserPreauthenticationRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomFederationUserPreauthenticationRequestValues(customFederationUserPreauthenticationRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyExchangeRequestBodyClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyExchangeRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the key exchange request body. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyExchangeRequestHeaderClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyExchangeRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the key exchange request header. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyExchangeRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyExchangeRequestValues(customKeyExchangeRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyRequestBodyClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the key request body. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyRequestHeaderClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the key request header. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomKeyRequestValues(customKeyRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomLoginRequestBodyClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomLoginRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Adds the custom claims to the login request body.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomLoginRequestHeaderClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomLoginRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Adds the custom claims to the login request header.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomLoginRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomLoginRequestValues(customLoginRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomNonceRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomNonceRequestValues(customNonceRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRefreshRequestBodyClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRefreshRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the refresh request bode. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRefreshRequestHeaderClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRefreshRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the refresh request header. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRefreshRequestValues ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRefreshRequestValues(customRefreshRequestValues *foundation.NSArray[*foundation.NSURLQueryItem])
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRequestJWTParameterName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetCustomRequestJWTParameterName(customRequestJWTParameterName *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetDeviceContext ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetDeviceContext(deviceContext *foundation.NSData)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetFederationMEXURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationMEXURL(federationMEXURL *foundation.NSURL)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetFederationMEXURLKeypath ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationMEXURLKeypath(federationMEXURLKeypath *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetFederationPredicate ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationPredicate(federationPredicate *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetFederationRequestURN ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationRequestURN(federationRequestURN *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetFederationType ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationType(federationType ASAuthorizationProviderExtensionFederationType)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetFederationUserPreauthenticationURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetFederationUserPreauthenticationURL(federationUserPreauthenticationURL *foundation.NSURL)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetGroupRequestClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetGroupRequestClaimName(groupRequestClaimName *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetGroupResponseClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetGroupResponseClaimName(groupResponseClaimName *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetHpkeAuthPublicKey ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetHpkeAuthPublicKey(hpkeAuthPublicKey unsafe.Pointer)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetHpkePreSharedKey ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetHpkePreSharedKey(hpkePreSharedKey *foundation.NSData)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetHpkePreSharedKeyID ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetHpkePreSharedKeyID(hpkePreSharedKeyID *foundation.NSData)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetIncludePreviousRefreshTokenInLoginRequest ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetIncludePreviousRefreshTokenInLoginRequest(includePreviousRefreshTokenInLoginRequest bool)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetInvalidCredentialPredicate ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetInvalidCredentialPredicate(invalidCredentialPredicate *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetJwksEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetJwksEndpointURL(jwksEndpointURL *foundation.NSURL)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetJwksTrustedRootCertificates ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetJwksTrustedRootCertificates(jwksTrustedRootCertificates *foundation.NSArray[objc.ID])
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetKerberosTicketMappings ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetKerberosTicketMappings(kerberosTicketMappings *foundation.NSArray[*ASAuthorizationProviderExtensionKerberosMapping])
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetKeyEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetKeyEndpointURL(keyEndpointURL *foundation.NSURL)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestEncryptionAPVPrefix ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestEncryptionAPVPrefix(loginRequestEncryptionAPVPrefix *foundation.NSData)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestEncryptionAlgorithm ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestEncryptionAlgorithm(loginRequestEncryptionAlgorithm *foundation.NSNumber)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestEncryptionPublicKey ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestEncryptionPublicKey(loginRequestEncryptionPublicKey unsafe.Pointer)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestHPKEPreSharedKey ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestHPKEPreSharedKey(loginRequestHPKEPreSharedKey *foundation.NSData)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestHPKEPreSharedKeyID ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetLoginRequestHPKEPreSharedKeyID(loginRequestHPKEPreSharedKeyID *foundation.NSData)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetNonceEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetNonceEndpointURL(nonceEndpointURL *foundation.NSURL)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetNonceResponseKeypath ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetNonceResponseKeypath(nonceResponseKeypath *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetPreviousRefreshTokenClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetPreviousRefreshTokenClaimName(previousRefreshTokenClaimName *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetRefreshEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetRefreshEndpointURL(refreshEndpointURL *foundation.NSURL)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetServerNonceClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetServerNonceClaimName(serverNonceClaimName *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetTokenEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetTokenEndpointURL(tokenEndpointURL *foundation.NSURL)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetUniqueIdentifierClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetUniqueIdentifierClaimName(uniqueIdentifierClaimName *foundation.NSString)
func (*ASAuthorizationProviderExtensionLoginConfiguration) SetUserSecureEnclaveKeyBiometricPolicy ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) SetUserSecureEnclaveKeyBiometricPolicy(userSecureEnclaveKeyBiometricPolicy ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy)
func (*ASAuthorizationProviderExtensionLoginConfiguration) TokenEndpointURL ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) TokenEndpointURL() *foundation.NSURL
@abstract Token Endpoint URL for login request.
func (*ASAuthorizationProviderExtensionLoginConfiguration) UniqueIdentifierClaimName ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) UniqueIdentifierClaimName() *foundation.NSString
@abstract The claim name for the user unique identifier in the id token. Defaults to "sub".
func (*ASAuthorizationProviderExtensionLoginConfiguration) UserSecureEnclaveKeyBiometricPolicy ¶
func (o *ASAuthorizationProviderExtensionLoginConfiguration) UserSecureEnclaveKeyBiometricPolicy() ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy
@abstract The biometric policy for User Secure Enclave Key authentication.
type ASAuthorizationProviderExtensionLoginManager ¶
type ASAuthorizationProviderExtensionLoginManager struct {
foundation.NSObject
}
An interface to maintain platform single sign-on (SSO) during authentication and registration.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationproviderextensionloginmanager
func ASAuthorizationProviderExtensionLoginManagerFromID ¶
func ASAuthorizationProviderExtensionLoginManagerFromID(id objc.ID) *ASAuthorizationProviderExtensionLoginManager
func (*ASAuthorizationProviderExtensionLoginManager) AttestKeyClientDataHashCompletion ¶
func (o *ASAuthorizationProviderExtensionLoginManager) AttestKeyClientDataHashCompletion(keyType ASAuthorizationProviderExtensionKeyType, clientDataHash *foundation.NSData, completion func(*foundation.NSArray[objc.ID], unsafe.Pointer))
@abstract Provides a new or cached attestation for the specified key type. @param keyType The key type for the attestation. @param clientDataHash A SHA256 hash of a unique, single-use data block that embeds a challenge from your server. @param completion A closure that the method calls upon completion with the following parameters: * attestationCertificates An array of certificates that verify the validity of the key associated with the keyType. Send this to your server for processing. * error A DCError instance that indicates the reason for failure, or nil on success.
func (*ASAuthorizationProviderExtensionLoginManager) AttestPendingKeyClientDataHashCompletion ¶
func (o *ASAuthorizationProviderExtensionLoginManager) AttestPendingKeyClientDataHashCompletion(keyType ASAuthorizationProviderExtensionKeyType, clientDataHash *foundation.NSData, completion func(*foundation.NSArray[objc.ID], unsafe.Pointer))
@abstract Provides a new or cached attestation for the specified pending key type. @param keyType The pending key type for the attestation. @param clientDataHash A SHA256 hash of a unique, single-use data block that embeds a challenge from your server. @param completion A closure that the method calls upon completion with the following parameters: * attestationCertificates An array of certificates that verify the validity of the pending key associated with the keyType. Send this to your server for processing. * error A DCError instance that indicates the reason for failure, or nil on success.
func (*ASAuthorizationProviderExtensionLoginManager) AuthenticationMethod ¶
func (o *ASAuthorizationProviderExtensionLoginManager) AuthenticationMethod() ASAuthorizationProviderExtensionAuthenticationMethod
@abstract Returns the authentication method used for the device.
func (*ASAuthorizationProviderExtensionLoginManager) BeginKeyRotationForKeyType ¶
func (o *ASAuthorizationProviderExtensionLoginManager) BeginKeyRotationForKeyType(keyType ASAuthorizationProviderExtensionKeyType) unsafe.Pointer
@abstract Generates a new key for the specified platform SSO key type using the strongest supported key strength returning the new key. Nil is returned if there is an error generating the new key. @param keyType The key type to retrieve.
func (*ASAuthorizationProviderExtensionLoginManager) CompleteKeyRotationForKeyType ¶
func (o *ASAuthorizationProviderExtensionLoginManager) CompleteKeyRotationForKeyType(keyType ASAuthorizationProviderExtensionKeyType)
@abstract Completes rotation for the key to replace the previous key. @param keyType The key type to retrieve.
func (*ASAuthorizationProviderExtensionLoginManager) CopyIdentityForKeyType ¶
func (o *ASAuthorizationProviderExtensionLoginManager) CopyIdentityForKeyType(keyType ASAuthorizationProviderExtensionKeyType) unsafe.Pointer
Retrieves the identity for the specified platform single sign-on key type.
func (*ASAuthorizationProviderExtensionLoginManager) CopyKeyForKeyType ¶
func (o *ASAuthorizationProviderExtensionLoginManager) CopyKeyForKeyType(keyType ASAuthorizationProviderExtensionKeyType) unsafe.Pointer
Retrieves the key for the specified platform single sign-on key type.
func (*ASAuthorizationProviderExtensionLoginManager) DecryptionKeysNeedRepair ¶
func (o *ASAuthorizationProviderExtensionLoginManager) DecryptionKeysNeedRepair()
@abstract Requests that the decryption keys are repaired.
func (*ASAuthorizationProviderExtensionLoginManager) DeviceRegistrationsNeedsRepair ¶
func (o *ASAuthorizationProviderExtensionLoginManager) DeviceRegistrationsNeedsRepair()
Invokes the device registration to run again so the current user can repair it.
func (*ASAuthorizationProviderExtensionLoginManager) ExtensionData ¶
func (o *ASAuthorizationProviderExtensionLoginManager) ExtensionData() *foundation.NSDictionary[objc.ID, objc.ID]
@abstract Returns the extension data from the MDM profile.
func (*ASAuthorizationProviderExtensionLoginManager) IsDeviceRegistered ¶
func (o *ASAuthorizationProviderExtensionLoginManager) IsDeviceRegistered() bool
@abstract Returns YES if the current device completed registration.
func (*ASAuthorizationProviderExtensionLoginManager) IsUserRegistered ¶
func (o *ASAuthorizationProviderExtensionLoginManager) IsUserRegistered() bool
@abstract Returns YES if current user completed registration.
func (*ASAuthorizationProviderExtensionLoginManager) LoginConfiguration ¶
func (o *ASAuthorizationProviderExtensionLoginManager) LoginConfiguration() *ASAuthorizationProviderExtensionLoginConfiguration
@abstract Retrieves or sets the current login configuration for the extension.
func (*ASAuthorizationProviderExtensionLoginManager) LoginUserName ¶
func (o *ASAuthorizationProviderExtensionLoginManager) LoginUserName() unsafe.Pointer
@abstract The user name to use when authenticating with the identity provider. Deprecated: since macOS 14.0.
func (*ASAuthorizationProviderExtensionLoginManager) PresentRegistrationViewControllerWithCompletion ¶
func (o *ASAuthorizationProviderExtensionLoginManager) PresentRegistrationViewControllerWithCompletion(completion func(unsafe.Pointer))
Requests platform single sign-on to show the extension’s view controller to the user.
func (*ASAuthorizationProviderExtensionLoginManager) RegistrationToken ¶
func (o *ASAuthorizationProviderExtensionLoginManager) RegistrationToken() *foundation.NSString
@abstract Returns the device registration token from the MDM profile.
func (*ASAuthorizationProviderExtensionLoginManager) ResetDeviceKeys ¶
func (o *ASAuthorizationProviderExtensionLoginManager) ResetDeviceKeys()
@abstract Creates new Encryption, and Signing keys for the device or user. The old keys will be destroyed.
func (*ASAuthorizationProviderExtensionLoginManager) ResetKeys ¶
func (o *ASAuthorizationProviderExtensionLoginManager) ResetKeys()
Creates new encryption, signing, and Secure Enclave keys for the user.
func (*ASAuthorizationProviderExtensionLoginManager) ResetUserSecureEnclaveKey ¶
func (o *ASAuthorizationProviderExtensionLoginManager) ResetUserSecureEnclaveKey()
@abstract Creates new Encryption, Signing, and Secure Enclave keys for the user. The old keys will be destroyed.
func (*ASAuthorizationProviderExtensionLoginManager) SaveCertificateKeyType ¶
func (o *ASAuthorizationProviderExtensionLoginManager) SaveCertificateKeyType(certificate unsafe.Pointer, keyType ASAuthorizationProviderExtensionKeyType)
Saves the provided certificate for the key type.
func (*ASAuthorizationProviderExtensionLoginManager) SaveLoginConfigurationError ¶
func (o *ASAuthorizationProviderExtensionLoginManager) SaveLoginConfigurationError(loginConfiguration *ASAuthorizationProviderExtensionLoginConfiguration) (bool, error)
Saves or replaces the login configuration.
func (*ASAuthorizationProviderExtensionLoginManager) SaveUserLoginConfigurationError ¶
func (o *ASAuthorizationProviderExtensionLoginManager) SaveUserLoginConfigurationError(userLoginConfiguration *ASAuthorizationProviderExtensionUserLoginConfiguration) (bool, error)
Saves or replaces the user login configration. @param userLoginConfiguration The user login configration to use. @param error The error when there are validation errors or nil.
func (*ASAuthorizationProviderExtensionLoginManager) SetLoginUserName
deprecated
func (o *ASAuthorizationProviderExtensionLoginManager) SetLoginUserName(loginUserName unsafe.Pointer)
Deprecated: since macOS 14.0.
func (*ASAuthorizationProviderExtensionLoginManager) SetSsoTokens ¶
func (o *ASAuthorizationProviderExtensionLoginManager) SetSsoTokens(ssoTokens *foundation.NSDictionary[objc.ID, objc.ID])
func (*ASAuthorizationProviderExtensionLoginManager) SsoTokens ¶
func (o *ASAuthorizationProviderExtensionLoginManager) SsoTokens() *foundation.NSDictionary[objc.ID, objc.ID]
@abstract Retrieves or sets the current SSO tokens response for the current user and extension.
func (*ASAuthorizationProviderExtensionLoginManager) UserLoginConfiguration ¶
func (o *ASAuthorizationProviderExtensionLoginManager) UserLoginConfiguration() *ASAuthorizationProviderExtensionUserLoginConfiguration
@abstract Retrieves the current user login configuration for the extension.
func (*ASAuthorizationProviderExtensionLoginManager) UserNeedsReauthenticationWithCompletion ¶
func (o *ASAuthorizationProviderExtensionLoginManager) UserNeedsReauthenticationWithCompletion(completion func(unsafe.Pointer))
Requests platform single sign-on to reauthenticate the current user.
func (*ASAuthorizationProviderExtensionLoginManager) UserRegistrationsNeedsRepair ¶
func (o *ASAuthorizationProviderExtensionLoginManager) UserRegistrationsNeedsRepair()
Invokes the user registration to run again so the current user can repair it.
type ASAuthorizationProviderExtensionPlatformSSOProtocolVersion ¶
type ASAuthorizationProviderExtensionPlatformSSOProtocolVersion int64
const ( ASAuthorizationProviderExtensionPlatformSSOProtocolVersion1_0 ASAuthorizationProviderExtensionPlatformSSOProtocolVersion = 0 ASAuthorizationProviderExtensionPlatformSSOProtocolVersion2_0 ASAuthorizationProviderExtensionPlatformSSOProtocolVersion = 1 )
func (ASAuthorizationProviderExtensionPlatformSSOProtocolVersion) String ¶
func (e ASAuthorizationProviderExtensionPlatformSSOProtocolVersion) String() string
type ASAuthorizationProviderExtensionRegistrationHandler ¶
type ASAuthorizationProviderExtensionRegistrationHandler interface {
BeginDeviceRegistrationUsingLoginManagerOptionsCompletion(loginManager *ASAuthorizationProviderExtensionLoginManager, options ASAuthorizationProviderExtensionRequestOptions, completion func(ASAuthorizationProviderExtensionRegistrationResult))
BeginUserRegistrationUsingLoginManagerUserNameAuthenticationMethodOptionsCompletion(loginManager *ASAuthorizationProviderExtensionLoginManager, userName *foundation.NSString, authenticationMethod ASAuthorizationProviderExtensionAuthenticationMethod, options ASAuthorizationProviderExtensionRequestOptions, completion func(ASAuthorizationProviderExtensionRegistrationResult))
}
ASAuthorizationProviderExtensionRegistrationHandler wraps the ObjC protocol ASAuthorizationProviderExtensionRegistrationHandler.
type ASAuthorizationProviderExtensionRegistrationResult ¶
type ASAuthorizationProviderExtensionRegistrationResult int64
The registration result.
const ( // The registration succeeds. ASAuthorizationProviderExtensionRegistrationResultSuccess ASAuthorizationProviderExtensionRegistrationResult = 0 // The registration fails to complete and the system retries later. ASAuthorizationProviderExtensionRegistrationResultFailed ASAuthorizationProviderExtensionRegistrationResult = 1 // The user interface is required to complete registration. ASAuthorizationProviderExtensionRegistrationResultUserInterfaceRequired ASAuthorizationProviderExtensionRegistrationResult = 2 // The registration fails to complete and the system doesn’t retry later. ASAuthorizationProviderExtensionRegistrationResultFailedNoRetry ASAuthorizationProviderExtensionRegistrationResult = 3 )
func (ASAuthorizationProviderExtensionRegistrationResult) String ¶
func (e ASAuthorizationProviderExtensionRegistrationResult) String() string
type ASAuthorizationProviderExtensionRequestOptions ¶
type ASAuthorizationProviderExtensionRequestOptions uint64
The options for the extension to obtain the status of the registration.
const ( // Options aren’t available. ASAuthorizationProviderExtensionRequestOptionsNone ASAuthorizationProviderExtensionRequestOptions = 0 // Indicates that the user interface is in an enabled state. ASAuthorizationProviderExtensionRequestOptionsUserInteractionEnabled ASAuthorizationProviderExtensionRequestOptions = 1 // Indicates that the registration is undergoing repair. ASAuthorizationProviderExtensionRequestOptionsRegistrationRepair ASAuthorizationProviderExtensionRequestOptions = 2 ASAuthorizationProviderExtensionRequestOptionsRegistrationDeviceKeyMigration ASAuthorizationProviderExtensionRequestOptions = 8 ASAuthorizationProviderExtensionRequestOptionsStrongerKeyAvailable ASAuthorizationProviderExtensionRequestOptions = 16 ASAuthorizationProviderExtensionRequestOptionsUserKeyInvalid ASAuthorizationProviderExtensionRequestOptions = 32 ASAuthorizationProviderExtensionRequestOptionsSetupAssistant ASAuthorizationProviderExtensionRequestOptions = 64 )
func (ASAuthorizationProviderExtensionRequestOptions) String ¶
func (e ASAuthorizationProviderExtensionRequestOptions) String() string
type ASAuthorizationProviderExtensionSupportedGrantTypes ¶
type ASAuthorizationProviderExtensionSupportedGrantTypes int64
const ( ASAuthorizationProviderExtensionSupportedGrantTypesNone ASAuthorizationProviderExtensionSupportedGrantTypes = 0 ASAuthorizationProviderExtensionSupportedGrantTypesPassword ASAuthorizationProviderExtensionSupportedGrantTypes = 1 ASAuthorizationProviderExtensionSupportedGrantTypesJWTBearer ASAuthorizationProviderExtensionSupportedGrantTypes = 2 ASAuthorizationProviderExtensionSupportedGrantTypesSAML1_1 ASAuthorizationProviderExtensionSupportedGrantTypes = 4 ASAuthorizationProviderExtensionSupportedGrantTypesSAML2_0 ASAuthorizationProviderExtensionSupportedGrantTypes = 8 )
func (ASAuthorizationProviderExtensionSupportedGrantTypes) String ¶
func (e ASAuthorizationProviderExtensionSupportedGrantTypes) String() string
type ASAuthorizationProviderExtensionUserLoginConfiguration ¶
type ASAuthorizationProviderExtensionUserLoginConfiguration struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationproviderextensionuserloginconfiguration
func ASAuthorizationProviderExtensionUserLoginConfigurationFromID ¶
func ASAuthorizationProviderExtensionUserLoginConfigurationFromID(id objc.ID) *ASAuthorizationProviderExtensionUserLoginConfiguration
func (*ASAuthorizationProviderExtensionUserLoginConfiguration) InitWithLoginUserName ¶
func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) InitWithLoginUserName(loginUserName *foundation.NSString) *ASAuthorizationProviderExtensionUserLoginConfiguration
func (*ASAuthorizationProviderExtensionUserLoginConfiguration) LoginUserName ¶
func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) LoginUserName() *foundation.NSString
@abstract The user name to use when authenticating with the identity provider.
func (*ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomAssertionRequestBodyClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomAssertionRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the embedded assertion request body. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomAssertionRequestHeaderClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomAssertionRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the embedded assertion request header. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomLoginRequestBodyClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomLoginRequestBodyClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the login request body. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomLoginRequestHeaderClaimsReturningError ¶
func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetCustomLoginRequestHeaderClaimsReturningError(claims *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
@abstract Sets custom claims to be added to the login request header. @param claims The claims to be added. It must serialize as valid JSON to be accepted. @param error Nil or an NSError indicating why the claims were rejected. @returns YES when successful and NO when claims are rejected.
func (*ASAuthorizationProviderExtensionUserLoginConfiguration) SetLoginUserName ¶
func (o *ASAuthorizationProviderExtensionUserLoginConfiguration) SetLoginUserName(loginUserName *foundation.NSString)
type ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy ¶
type ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy uint64
const ( ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyTouchIDOrWatchCurrentSet ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy = 1 ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyTouchIDOrWatchAny ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy = 2 ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyReuseDuringUnlock ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy = 4 ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyPasswordFallback ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy = 8 )
func (ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy) String ¶
func (e ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy) String() string
type ASAuthorizationPublicKeyCredentialAssertion ¶
type ASAuthorizationPublicKeyCredentialAssertion interface {
ASPublicKeyCredential
RawAuthenticatorData() *foundation.NSData
UserID() *foundation.NSData
Signature() *foundation.NSData
}
ASAuthorizationPublicKeyCredentialAssertion wraps the ObjC protocol ASAuthorizationPublicKeyCredentialAssertion.
type ASAuthorizationPublicKeyCredentialAssertionRequest ¶
type ASAuthorizationPublicKeyCredentialAssertionRequest interface {
foundation.NSSecureCoding
foundation.NSCopying
Challenge() *foundation.NSData
SetChallenge(challenge *foundation.NSData)
RelyingPartyIdentifier() *foundation.NSString
SetRelyingPartyIdentifier(relyingPartyIdentifier *foundation.NSString)
AllowedCredentials() *foundation.NSArray[ASAuthorizationPublicKeyCredentialDescriptor]
SetAllowedCredentials(allowedCredentials *foundation.NSArray[ASAuthorizationPublicKeyCredentialDescriptor])
UserVerificationPreference() *foundation.NSString
SetUserVerificationPreference(userVerificationPreference *foundation.NSString)
}
ASAuthorizationPublicKeyCredentialAssertionRequest wraps the ObjC protocol ASAuthorizationPublicKeyCredentialAssertionRequest.
type ASAuthorizationPublicKeyCredentialAttachment ¶
type ASAuthorizationPublicKeyCredentialAttachment int64
const ( ASAuthorizationPublicKeyCredentialAttachmentPlatform ASAuthorizationPublicKeyCredentialAttachment = 0 ASAuthorizationPublicKeyCredentialAttachmentCrossPlatform ASAuthorizationPublicKeyCredentialAttachment = 1 )
func (ASAuthorizationPublicKeyCredentialAttachment) String ¶
func (e ASAuthorizationPublicKeyCredentialAttachment) String() string
type ASAuthorizationPublicKeyCredentialDescriptor ¶
type ASAuthorizationPublicKeyCredentialDescriptor interface {
foundation.NSSecureCoding
foundation.NSCopying
}
ASAuthorizationPublicKeyCredentialDescriptor wraps the ObjC protocol ASAuthorizationPublicKeyCredentialDescriptor.
type ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput ¶
type ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput struct {
foundation.NSObject
}
A type that represents input for the binary large object extension in passkey assertion requests.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentiallargeblobassertioninput
func ASAuthorizationPublicKeyCredentialLargeBlobAssertionInputFromID ¶
func ASAuthorizationPublicKeyCredentialLargeBlobAssertionInputFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput
func (*ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput) DataToWrite ¶
func (o *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput) DataToWrite() *foundation.NSData
func (*ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput) InitWithOperation ¶
func (*ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput) SetDataToWrite ¶
func (o *ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput) SetDataToWrite(dataToWrite *foundation.NSData)
type ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation ¶
type ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation int64
A type that represents the operation of the large blob assertion.
const ( // An operation to read data from the blob. ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperationRead ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation = 0 // An operation to write data to the blob. ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperationWrite ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation = 1 )
func (ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation) String ¶
func (e ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation) String() string
type ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput ¶
type ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput struct {
foundation.NSObject
}
A type to represent the output of the requested large binary object operation, which returns in a passkey sign-in response.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentiallargeblobassertionoutput
func ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutputFromID ¶
func ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutputFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput
func (*ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput) DidWrite ¶
func (o *ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput) DidWrite() bool
func (*ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput) ReadData ¶
func (o *ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput) ReadData() *foundation.NSData
type ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput ¶
type ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput struct {
foundation.NSObject
}
A type that encapsulates input for large binary object extensions during registration.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentiallargeblobregistrationinput
func ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInputFromID ¶
func ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInputFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput
func (*ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput) InitWithSupportRequirement ¶
func (o *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput) InitWithSupportRequirement(requirement ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement) *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput
func (*ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput) SetSupportRequirement ¶
func (o *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput) SetSupportRequirement(supportRequirement ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement)
func (*ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput) SupportRequirement ¶
func (o *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput) SupportRequirement() ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement
type ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput ¶
type ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput struct {
foundation.NSObject
}
The result of the large binary object support check, resulting from a passkey registration response.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentiallargeblobregistrationoutput
func ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutputFromID ¶
func ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutputFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput
func (*ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput) IsSupported ¶
func (o *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput) IsSupported() bool
type ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement ¶
type ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement int64
An enumeration of large binary object support requirement values.
const ( // A value that indicates the app requires large binary object support. ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirementRequired ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement = 0 // A value that indicates the app needs large binary object support. ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirementPreferred ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement = 1 )
func (ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement) String ¶
func (e ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement) String() string
type ASAuthorizationPublicKeyCredentialPRFAssertionInput ¶
type ASAuthorizationPublicKeyCredentialPRFAssertionInput struct {
foundation.NSObject
}
A type that represents input for the web authentication PRF extension in passkey assertion requests.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentialprfassertioninput
func ASAuthorizationPublicKeyCredentialPRFAssertionInputFromID ¶
func ASAuthorizationPublicKeyCredentialPRFAssertionInputFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialPRFAssertionInput
func (*ASAuthorizationPublicKeyCredentialPRFAssertionInput) InitWithInputValuesPerCredentialInputValues ¶
func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInput) InitWithInputValuesPerCredentialInputValues(inputValues *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues, perCredentialInputValues *foundation.NSDictionary[*foundation.NSData, *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues]) *ASAuthorizationPublicKeyCredentialPRFAssertionInput
func (*ASAuthorizationPublicKeyCredentialPRFAssertionInput) InputValues ¶
func (*ASAuthorizationPublicKeyCredentialPRFAssertionInput) PerCredentialInputValues ¶
func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInput) PerCredentialInputValues() *foundation.NSDictionary[*foundation.NSData, *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues]
type ASAuthorizationPublicKeyCredentialPRFAssertionInputValues ¶
type ASAuthorizationPublicKeyCredentialPRFAssertionInputValues struct {
foundation.NSObject
}
The values to use as inputs to the salts for deriving the symmetric key.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentialprfassertioninputvalues
func ASAuthorizationPublicKeyCredentialPRFAssertionInputValuesFromID ¶
func ASAuthorizationPublicKeyCredentialPRFAssertionInputValuesFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues
func (*ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) InitWithSaltInput1SaltInput2 ¶
func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) InitWithSaltInput1SaltInput2(saltInput1 *foundation.NSData, saltInput2 *foundation.NSData) *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues
Initializes an input values object with the given salts.
func (*ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) SaltInput1 ¶
func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) SaltInput1() *foundation.NSData
func (*ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) SaltInput2 ¶
func (o *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) SaltInput2() *foundation.NSData
type ASAuthorizationPublicKeyCredentialPRFAssertionOutput ¶
type ASAuthorizationPublicKeyCredentialPRFAssertionOutput struct {
foundation.NSObject
}
A type to represent outputs of the web authentication PRF extension, when requesting them during an assertion.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentialprfassertionoutput
func ASAuthorizationPublicKeyCredentialPRFAssertionOutputFromID ¶
func ASAuthorizationPublicKeyCredentialPRFAssertionOutputFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialPRFAssertionOutput
func (*ASAuthorizationPublicKeyCredentialPRFAssertionOutput) First ¶
func (o *ASAuthorizationPublicKeyCredentialPRFAssertionOutput) First() *foundation.NSData
func (*ASAuthorizationPublicKeyCredentialPRFAssertionOutput) Second ¶
func (o *ASAuthorizationPublicKeyCredentialPRFAssertionOutput) Second() *foundation.NSData
type ASAuthorizationPublicKeyCredentialPRFRegistrationInput ¶
type ASAuthorizationPublicKeyCredentialPRFRegistrationInput struct {
foundation.NSObject
}
A type that encapsulates input for PRF extensions during registration.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentialprfregistrationinput
func ASAuthorizationPublicKeyCredentialPRFRegistrationInputCheckForSupport ¶
func ASAuthorizationPublicKeyCredentialPRFRegistrationInputCheckForSupport() *ASAuthorizationPublicKeyCredentialPRFRegistrationInput
func ASAuthorizationPublicKeyCredentialPRFRegistrationInputFromID ¶
func ASAuthorizationPublicKeyCredentialPRFRegistrationInputFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialPRFRegistrationInput
func (*ASAuthorizationPublicKeyCredentialPRFRegistrationInput) InitWithInputValues ¶
func (o *ASAuthorizationPublicKeyCredentialPRFRegistrationInput) InitWithInputValues(inputValues *ASAuthorizationPublicKeyCredentialPRFAssertionInputValues) *ASAuthorizationPublicKeyCredentialPRFRegistrationInput
func (*ASAuthorizationPublicKeyCredentialPRFRegistrationInput) InputValues ¶
func (*ASAuthorizationPublicKeyCredentialPRFRegistrationInput) ShouldCheckForSupport ¶
func (o *ASAuthorizationPublicKeyCredentialPRFRegistrationInput) ShouldCheckForSupport() bool
type ASAuthorizationPublicKeyCredentialPRFRegistrationOutput ¶
type ASAuthorizationPublicKeyCredentialPRFRegistrationOutput struct {
foundation.NSObject
}
A type to represent outputs of the web authentication PRF extension, when requesting them during a registration.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentialprfregistrationoutput
func ASAuthorizationPublicKeyCredentialPRFRegistrationOutputFromID ¶
func ASAuthorizationPublicKeyCredentialPRFRegistrationOutputFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialPRFRegistrationOutput
func (*ASAuthorizationPublicKeyCredentialPRFRegistrationOutput) First ¶
func (o *ASAuthorizationPublicKeyCredentialPRFRegistrationOutput) First() *foundation.NSData
func (*ASAuthorizationPublicKeyCredentialPRFRegistrationOutput) IsSupported ¶
func (o *ASAuthorizationPublicKeyCredentialPRFRegistrationOutput) IsSupported() bool
func (*ASAuthorizationPublicKeyCredentialPRFRegistrationOutput) Second ¶
func (o *ASAuthorizationPublicKeyCredentialPRFRegistrationOutput) Second() *foundation.NSData
type ASAuthorizationPublicKeyCredentialParameters ¶
type ASAuthorizationPublicKeyCredentialParameters struct {
foundation.NSObject
}
An object that provides required parameters for the credential during registration.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentialparameters
func ASAuthorizationPublicKeyCredentialParametersFromID ¶
func ASAuthorizationPublicKeyCredentialParametersFromID(id objc.ID) *ASAuthorizationPublicKeyCredentialParameters
func (*ASAuthorizationPublicKeyCredentialParameters) Algorithm ¶
func (o *ASAuthorizationPublicKeyCredentialParameters) Algorithm() int
@abstract A COSE algorithm indentifier.
func (*ASAuthorizationPublicKeyCredentialParameters) InitWithAlgorithm ¶
func (o *ASAuthorizationPublicKeyCredentialParameters) InitWithAlgorithm(algorithm int) *ASAuthorizationPublicKeyCredentialParameters
Creates the object with an algorithm.
type ASAuthorizationPublicKeyCredentialRegistration ¶
type ASAuthorizationPublicKeyCredentialRegistration interface {
ASPublicKeyCredential
RawAttestationObject() *foundation.NSData
}
ASAuthorizationPublicKeyCredentialRegistration wraps the ObjC protocol ASAuthorizationPublicKeyCredentialRegistration.
type ASAuthorizationPublicKeyCredentialRegistrationRequest ¶
type ASAuthorizationPublicKeyCredentialRegistrationRequest interface {
foundation.NSSecureCoding
foundation.NSCopying
RelyingPartyIdentifier() *foundation.NSString
UserID() *foundation.NSData
SetUserID(userID *foundation.NSData)
Name() *foundation.NSString
SetName(name *foundation.NSString)
DisplayName() *foundation.NSString
SetDisplayName(displayName *foundation.NSString)
Challenge() *foundation.NSData
SetChallenge(challenge *foundation.NSData)
UserVerificationPreference() *foundation.NSString
SetUserVerificationPreference(userVerificationPreference *foundation.NSString)
AttestationPreference() *foundation.NSString
SetAttestationPreference(attestationPreference *foundation.NSString)
}
ASAuthorizationPublicKeyCredentialRegistrationRequest wraps the ObjC protocol ASAuthorizationPublicKeyCredentialRegistrationRequest.
type ASAuthorizationRequest ¶
type ASAuthorizationRequest struct {
foundation.NSObject
}
A base class for different kinds of authorization requests.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationrequest
func ASAuthorizationRequestFromID ¶
func ASAuthorizationRequestFromID(id objc.ID) *ASAuthorizationRequest
func (*ASAuthorizationRequest) Provider ¶
func (o *ASAuthorizationRequest) Provider() ASAuthorizationProvider
@abstract The provider object that is being used to service this request
type ASAuthorizationSecurityKeyPublicKeyCredentialAssertion ¶
type ASAuthorizationSecurityKeyPublicKeyCredentialAssertion struct {
foundation.NSObject
}
A class that represents the security key credential assertion type.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationsecuritykeypublickeycredentialassertion
func ASAuthorizationSecurityKeyPublicKeyCredentialAssertionFromID ¶
func ASAuthorizationSecurityKeyPublicKeyCredentialAssertionFromID(id objc.ID) *ASAuthorizationSecurityKeyPublicKeyCredentialAssertion
func (*ASAuthorizationSecurityKeyPublicKeyCredentialAssertion) AppID ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertion) AppID() bool
Indicates that this assertion used the appid WebAuthn extension. This can only happen if the requesting app is a web browser and requested to use this extension.
type ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest ¶
type ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest struct {
ASAuthorizationRequest
}
A class that defines the assertion request type for security key credentials.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationsecuritykeypublickeycredentialassertionrequest
func ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequestFromID ¶
func ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequestFromID(id objc.ID) *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest
func (*ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) AllowedCredentials ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) AllowedCredentials() *foundation.NSArray[*ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor]
A list of descriptors indicating credentials that may be used to sign in. If this is non-empty, only credentials matching the provided descriptors can be used when authenticating.
func (*ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) AppID ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) AppID() *foundation.NSString
Use this value to request the appid WebAuthn extension. This can only be requested by web browsers.
func (*ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) SetAllowedCredentials ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) SetAllowedCredentials(allowedCredentials *foundation.NSArray[*ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor])
func (*ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) SetAppID ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest) SetAppID(appID *foundation.NSString)
type ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor ¶
type ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor struct {
foundation.NSObject
}
An object that holds public key credential transport information.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationsecuritykeypublickeycredentialdescriptor
func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorFromID ¶
func ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorFromID(id objc.ID) *ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor
func (*ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor) InitWithCredentialIDTransports ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor) InitWithCredentialIDTransports(credentialID *foundation.NSData, allowedTransports *foundation.NSArray[*foundation.NSString]) *ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor
Creates the object with the credential ID and the array of transports.
func (*ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor) SetTransports ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor) SetTransports(transports *foundation.NSArray[*foundation.NSString])
func (*ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor) Transports ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor) Transports() *foundation.NSArray[*foundation.NSString]
@abstract An array indicating transports for the credential indicated by credentialID.
type ASAuthorizationSecurityKeyPublicKeyCredentialProvider ¶
type ASAuthorizationSecurityKeyPublicKeyCredentialProvider struct {
foundation.NSObject
}
A mechanism for providing public key credential requests to an app or service with a physical security key.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationsecuritykeypublickeycredentialprovider
func ASAuthorizationSecurityKeyPublicKeyCredentialProviderFromID ¶
func ASAuthorizationSecurityKeyPublicKeyCredentialProviderFromID(id objc.ID) *ASAuthorizationSecurityKeyPublicKeyCredentialProvider
func (*ASAuthorizationSecurityKeyPublicKeyCredentialProvider) CreateCredentialAssertionRequestWithChallenge ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialProvider) CreateCredentialAssertionRequestWithChallenge(challenge *foundation.NSData) *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest
Creates an assertion request with a challenge.
func (*ASAuthorizationSecurityKeyPublicKeyCredentialProvider) CreateCredentialRegistrationRequestWithChallengeDisplayNameNameUserID ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialProvider) CreateCredentialRegistrationRequestWithChallengeDisplayNameNameUserID(challenge *foundation.NSData, displayName *foundation.NSString, name *foundation.NSString, userID *foundation.NSData) *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest
Creates a registration request with a challenge, display name, and user ID.
func (*ASAuthorizationSecurityKeyPublicKeyCredentialProvider) InitWithRelyingPartyIdentifier ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialProvider) InitWithRelyingPartyIdentifier(relyingPartyIdentifier *foundation.NSString) *ASAuthorizationSecurityKeyPublicKeyCredentialProvider
Creates the object with a relying party identifier.
func (*ASAuthorizationSecurityKeyPublicKeyCredentialProvider) RelyingPartyIdentifier ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialProvider) RelyingPartyIdentifier() *foundation.NSString
@abstract The Relying Party identifier used for all requests created by this object.
type ASAuthorizationSecurityKeyPublicKeyCredentialRegistration ¶
type ASAuthorizationSecurityKeyPublicKeyCredentialRegistration struct {
foundation.NSObject
}
A newly created security key credential that results from a credential registration request.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationsecuritykeypublickeycredentialregistration
func ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationFromID ¶
func ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationFromID(id objc.ID) *ASAuthorizationSecurityKeyPublicKeyCredentialRegistration
func (*ASAuthorizationSecurityKeyPublicKeyCredentialRegistration) Transports ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistration) Transports() *foundation.NSArray[*foundation.NSString]
@abstract A list of transports that the authenticator is believed to support, if this could be determined.
type ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest ¶
type ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest struct {
ASAuthorizationRequest
}
The object for registering a new security key credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationsecuritykeypublickeycredentialregistrationrequest
func ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequestFromID ¶
func ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequestFromID(id objc.ID) *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest
func (*ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) CredentialParameters ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) CredentialParameters() *foundation.NSArray[*ASAuthorizationPublicKeyCredentialParameters]
@abstract A list of parameters for the new credential which are supported by the Relying Party. The authenticator should choose from these parameters when creating the credential.
func (*ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) ExcludedCredentials ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) ExcludedCredentials() *foundation.NSArray[*ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor]
@abstract A list of descriptors indicating credentials which must not already exist on the authenticator. If a credential already exists on the authenticator which matches one or more of these descriptors, a new credential will not be created and authentication will fail.
func (*ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) ResidentKeyPreference ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) ResidentKeyPreference() *foundation.NSString
@abstract A preference whether the authenticator should store the private key of the newly created credential.
func (*ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetCredentialParameters ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetCredentialParameters(credentialParameters *foundation.NSArray[*ASAuthorizationPublicKeyCredentialParameters])
func (*ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetExcludedCredentials ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetExcludedCredentials(excludedCredentials *foundation.NSArray[*ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor])
func (*ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetResidentKeyPreference ¶
func (o *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest) SetResidentKeyPreference(residentKeyPreference *foundation.NSString)
type ASAuthorizationSingleSignOnCredential ¶
type ASAuthorizationSingleSignOnCredential struct {
foundation.NSObject
}
A credential that results from a successful single sign-on (SSO) authentication.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationsinglesignoncredential
func ASAuthorizationSingleSignOnCredentialFromID ¶
func ASAuthorizationSingleSignOnCredentialFromID(id objc.ID) *ASAuthorizationSingleSignOnCredential
func (*ASAuthorizationSingleSignOnCredential) AccessToken ¶
func (o *ASAuthorizationSingleSignOnCredential) AccessToken() *foundation.NSData
@abstract An access token used to access other systems with the authorized scopes.
func (*ASAuthorizationSingleSignOnCredential) AuthenticatedResponse ¶
func (o *ASAuthorizationSingleSignOnCredential) AuthenticatedResponse() *foundation.NSHTTPURLResponse
@abstract The complete AuthenticationServices extension response with the additional outputs used by the specific technology used by the Authorization Server instance and AuthenticationServices Extension. @note for some operations all properties can be null and the response will indicate just successful result of the operation.
func (*ASAuthorizationSingleSignOnCredential) AuthorizedScopes ¶
func (o *ASAuthorizationSingleSignOnCredential) AuthorizedScopes() *foundation.NSArray[*foundation.NSString]
@abstract This value will contain a list of scopes for which the user provided authorization. These may contain a subset of the requested scopes on @see ASAuthorizationOpenIDRequest. The application should query this value to identify which scopes were returned as it maybe different from ones requested.
func (*ASAuthorizationSingleSignOnCredential) IdentityToken ¶
func (o *ASAuthorizationSingleSignOnCredential) IdentityToken() *foundation.NSData
@abstract A JSON Web Token (JWT) used to communicate information about the identity of the user in a secure way to the app.
func (*ASAuthorizationSingleSignOnCredential) PrivateKeys ¶
func (o *ASAuthorizationSingleSignOnCredential) PrivateKeys() *foundation.NSArray[objc.ID]
@abstract Private SecKeys returned from the AuthenticationServices extension.
func (*ASAuthorizationSingleSignOnCredential) State ¶
func (o *ASAuthorizationSingleSignOnCredential) State() *foundation.NSString
@abstract A state returned from the AuthenticationServices extension.
type ASAuthorizationSingleSignOnProvider ¶
type ASAuthorizationSingleSignOnProvider struct {
foundation.NSObject
}
A mechanism for generating requests to authenticate users with third-party providers.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationsinglesignonprovider
func ASAuthorizationSingleSignOnProviderAuthorizationProviderWithIdentityProviderURL ¶
func ASAuthorizationSingleSignOnProviderAuthorizationProviderWithIdentityProviderURL(url *foundation.NSURL) *ASAuthorizationSingleSignOnProvider
Creates a single sign-on (SSO) authorization provider.
func ASAuthorizationSingleSignOnProviderFromID ¶
func ASAuthorizationSingleSignOnProviderFromID(id objc.ID) *ASAuthorizationSingleSignOnProvider
func (*ASAuthorizationSingleSignOnProvider) CanPerformAuthorization ¶
func (o *ASAuthorizationSingleSignOnProvider) CanPerformAuthorization() bool
@abstract Returns YES if the configured provider is capable of performing authorization within a given configuration.
func (*ASAuthorizationSingleSignOnProvider) CreateRequest ¶
func (o *ASAuthorizationSingleSignOnProvider) CreateRequest() *ASAuthorizationSingleSignOnRequest
Creates a single sign-on (SSO) authorization request.
func (*ASAuthorizationSingleSignOnProvider) Url ¶
func (o *ASAuthorizationSingleSignOnProvider) Url() *foundation.NSURL
type ASAuthorizationSingleSignOnRequest ¶
type ASAuthorizationSingleSignOnRequest struct {
ASAuthorizationOpenIDRequest
}
An OpenID authorization request that provides single sign-on (SSO) functionality.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationsinglesignonrequest
func ASAuthorizationSingleSignOnRequestFromID ¶
func ASAuthorizationSingleSignOnRequestFromID(id objc.ID) *ASAuthorizationSingleSignOnRequest
func (*ASAuthorizationSingleSignOnRequest) AuthorizationOptions ¶
func (o *ASAuthorizationSingleSignOnRequest) AuthorizationOptions() *foundation.NSArray[*foundation.NSURLQueryItem]
@abstract Parameters required by the specific Authorization Server which should be used by the selected Authorization Services extension for authorization.
func (*ASAuthorizationSingleSignOnRequest) IsUserInterfaceEnabled ¶
func (o *ASAuthorizationSingleSignOnRequest) IsUserInterfaceEnabled() bool
@abstract Enables or disables the authorization user interface. @discussion The default values is YES. If user interface is not enabled, then the authorization will fail with @see ASAuthorizationErrorNotInteractive if it attempts to display the authorization user interface.
func (*ASAuthorizationSingleSignOnRequest) SetAuthorizationOptions ¶
func (o *ASAuthorizationSingleSignOnRequest) SetAuthorizationOptions(authorizationOptions *foundation.NSArray[*foundation.NSURLQueryItem])
func (*ASAuthorizationSingleSignOnRequest) SetUserInterfaceEnabled ¶
func (o *ASAuthorizationSingleSignOnRequest) SetUserInterfaceEnabled(userInterfaceEnabled bool)
type ASAuthorizationWebBrowserExternallyAuthenticatableRequest ¶
type ASAuthorizationWebBrowserExternallyAuthenticatableRequest interface {
AuthenticatedContext() *localauthentication.LAContext
SetAuthenticatedContext(authenticatedContext *localauthentication.LAContext)
}
ASAuthorizationWebBrowserExternallyAuthenticatableRequest wraps the ObjC protocol ASAuthorizationWebBrowserExternallyAuthenticatableRequest.
type ASAuthorizationWebBrowserPlatformPublicKeyCredential ¶
type ASAuthorizationWebBrowserPlatformPublicKeyCredential struct {
foundation.NSObject
}
A structure that describes a passkey stored in the keychain, or managed by a third-party credential manager.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationwebbrowserplatformpublickeycredential
func ASAuthorizationWebBrowserPlatformPublicKeyCredentialFromID ¶
func ASAuthorizationWebBrowserPlatformPublicKeyCredentialFromID(id objc.ID) *ASAuthorizationWebBrowserPlatformPublicKeyCredential
func (*ASAuthorizationWebBrowserPlatformPublicKeyCredential) CredentialID ¶
func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) CredentialID() *foundation.NSData
A unique identifier for this credential.
func (*ASAuthorizationWebBrowserPlatformPublicKeyCredential) CustomTitle ¶
func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) CustomTitle() *foundation.NSString
A user-specified title for the credential.
func (*ASAuthorizationWebBrowserPlatformPublicKeyCredential) Name ¶
func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) Name() *foundation.NSString
The user name of the saved credential.
func (*ASAuthorizationWebBrowserPlatformPublicKeyCredential) ProviderName ¶
func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) ProviderName() *foundation.NSString
The localized name of the credential provider that provided this passkey.
func (*ASAuthorizationWebBrowserPlatformPublicKeyCredential) RelyingParty ¶
func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) RelyingParty() *foundation.NSString
The "relying party" (generally website) the credential was saved for.
func (*ASAuthorizationWebBrowserPlatformPublicKeyCredential) UserHandle ¶
func (o *ASAuthorizationWebBrowserPlatformPublicKeyCredential) UserHandle() *foundation.NSData
A unique identifier for the user account associated with this credential. One account may have multiple associated credentials.
type ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest ¶
type ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest interface {
ClientData() *ASPublicKeyCredentialClientData
ShouldShowHybridTransport() bool
SetShouldShowHybridTransport(shouldShowHybridTransport bool)
}
ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest wraps the ObjC protocol ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest.
type ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider ¶
type ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider interface {
CreateCredentialRegistrationRequestWithClientDataNameUserID(clientData *ASPublicKeyCredentialClientData, name *foundation.NSString, userID *foundation.NSData) *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
CreateCredentialRegistrationRequestWithClientDataNameUserIDRequestStyle(clientData *ASPublicKeyCredentialClientData, name *foundation.NSString, userID *foundation.NSData, requestStyle ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle) *ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
CreateCredentialAssertionRequestWithClientData(clientData *ASPublicKeyCredentialClientData) *ASAuthorizationPlatformPublicKeyCredentialAssertionRequest
}
ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider wraps the ObjC protocol ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider.
type ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest ¶
type ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest interface {
ClientData() *ASPublicKeyCredentialClientData
ExcludedCredentials() *foundation.NSArray[*ASAuthorizationPlatformPublicKeyCredentialDescriptor]
SetExcludedCredentials(excludedCredentials *foundation.NSArray[*ASAuthorizationPlatformPublicKeyCredentialDescriptor])
ShouldShowHybridTransport() bool
SetShouldShowHybridTransport(shouldShowHybridTransport bool)
}
ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest wraps the ObjC protocol ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest.
type ASAuthorizationWebBrowserPublicKeyCredentialManager ¶
type ASAuthorizationWebBrowserPublicKeyCredentialManager struct {
foundation.NSObject
}
A class that you use to request access to a person’s passkeys in a web browser, and that reports on the access status.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asauthorizationwebbrowserpublickeycredentialmanager
func ASAuthorizationWebBrowserPublicKeyCredentialManagerFromID ¶
func ASAuthorizationWebBrowserPublicKeyCredentialManagerFromID(id objc.ID) *ASAuthorizationWebBrowserPublicKeyCredentialManager
func (*ASAuthorizationWebBrowserPublicKeyCredentialManager) AuthorizationStateForPlatformCredentials ¶
func (o *ASAuthorizationWebBrowserPublicKeyCredentialManager) AuthorizationStateForPlatformCredentials() ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState
func (*ASAuthorizationWebBrowserPublicKeyCredentialManager) Init ¶
func (o *ASAuthorizationWebBrowserPublicKeyCredentialManager) Init() *ASAuthorizationWebBrowserPublicKeyCredentialManager
Initializes a credential manager.
func (*ASAuthorizationWebBrowserPublicKeyCredentialManager) PlatformCredentialsForRelyingPartyCompletionHandler ¶
func (o *ASAuthorizationWebBrowserPublicKeyCredentialManager) PlatformCredentialsForRelyingPartyCompletionHandler(relyingParty *foundation.NSString, completionHandler func(*foundation.NSArray[*ASAuthorizationWebBrowserPlatformPublicKeyCredential]))
Gets a list of passkeys available for authenticating with the given relying party.
func (*ASAuthorizationWebBrowserPublicKeyCredentialManager) RequestAuthorizationForPublicKeyCredentials ¶
func (o *ASAuthorizationWebBrowserPublicKeyCredentialManager) RequestAuthorizationForPublicKeyCredentials(completionHandler func(ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState))
Requests a person’s permission to use their passkeys.
type ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState ¶
type ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState int64
An enumeration of values that indicate whether the browser app has access to a person’s passkeys.
const ( ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateAuthorized ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState = 0 ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateDenied ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState = 1 ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateNotDetermined ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState = 2 )
func (ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState) String ¶
func (e ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState) String() string
type ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest ¶
type ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest interface {
ClientData() *ASPublicKeyCredentialClientData
}
ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest wraps the ObjC protocol ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest.
type ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider ¶
type ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider interface {
CreateCredentialRegistrationRequestWithClientDataDisplayNameNameUserID(clientData *ASPublicKeyCredentialClientData, displayName *foundation.NSString, name *foundation.NSString, userID *foundation.NSData) *ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest
CreateCredentialAssertionRequestWithClientData(clientData *ASPublicKeyCredentialClientData) *ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest
}
ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider wraps the ObjC protocol ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider.
type ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest ¶
type ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest interface {
ClientData() *ASPublicKeyCredentialClientData
}
ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest wraps the ObjC protocol ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest.
type ASCredentialIdentity ¶
type ASCredentialIdentity interface {
}
ASCredentialIdentity wraps the ObjC protocol ASCredentialIdentity.
type ASCredentialIdentityStore ¶
type ASCredentialIdentityStore struct {
foundation.NSObject
}
A container that your extension fills to provide credentials through the QuickType bar.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/ascredentialidentitystore
func ASCredentialIdentityStoreFromID ¶
func ASCredentialIdentityStoreFromID(id objc.ID) *ASCredentialIdentityStore
func ASCredentialIdentityStoreSharedStore ¶
func ASCredentialIdentityStoreSharedStore() *ASCredentialIdentityStore
func (*ASCredentialIdentityStore) GetCredentialIdentitiesForServiceCredentialIdentityTypesCompletionHandler ¶
func (o *ASCredentialIdentityStore) GetCredentialIdentitiesForServiceCredentialIdentityTypesCompletionHandler(serviceIdentifier *ASCredentialServiceIdentifier, credentialIdentityTypes ASCredentialIdentityTypes, completionHandler func(*foundation.NSArray[ASCredentialIdentity]))
Retrieves an array of all previously saved credential identities in the store for your extension.
func (*ASCredentialIdentityStore) GetCredentialIdentityStoreStateWithCompletion ¶
func (o *ASCredentialIdentityStore) GetCredentialIdentityStoreStateWithCompletion(completion func(*ASCredentialIdentityStoreState))
Gets the state of the credential identity store.
func (*ASCredentialIdentityStore) RemoveAllCredentialIdentitiesWithCompletion ¶
func (o *ASCredentialIdentityStore) RemoveAllCredentialIdentitiesWithCompletion(completion func(bool, unsafe.Pointer))
Removes all existing credential identities from the store.
func (*ASCredentialIdentityStore) RemoveCredentialIdentitiesCompletion ¶
func (o *ASCredentialIdentityStore) RemoveCredentialIdentitiesCompletion(credentialIdentities *foundation.NSArray[*ASPasswordCredentialIdentity], completion func(bool, unsafe.Pointer))
Removes the given credential identities from the store. Deprecated: since macOS 14.0.
func (*ASCredentialIdentityStore) RemoveCredentialIdentityEntriesCompletion ¶
func (o *ASCredentialIdentityStore) RemoveCredentialIdentityEntriesCompletion(credentialIdentities *foundation.NSArray[ASCredentialIdentity], completion func(bool, unsafe.Pointer))
Remove the given credential identities from the store.
func (*ASCredentialIdentityStore) ReplaceCredentialIdentitiesWithIdentitiesCompletion ¶
func (o *ASCredentialIdentityStore) ReplaceCredentialIdentitiesWithIdentitiesCompletion(newCredentialIdentities *foundation.NSArray[*ASPasswordCredentialIdentity], completion func(bool, unsafe.Pointer))
Replaces existing credential identities with new credential identities. Deprecated: since macOS 14.0.
func (*ASCredentialIdentityStore) ReplaceCredentialIdentityEntriesCompletion ¶
func (o *ASCredentialIdentityStore) ReplaceCredentialIdentityEntriesCompletion(newCredentialIdentities *foundation.NSArray[ASCredentialIdentity], completion func(bool, unsafe.Pointer))
Replaces existing credential identities with new credential identities.
func (*ASCredentialIdentityStore) SaveCredentialIdentitiesCompletion ¶
func (o *ASCredentialIdentityStore) SaveCredentialIdentitiesCompletion(credentialIdentities *foundation.NSArray[*ASPasswordCredentialIdentity], completion func(bool, unsafe.Pointer))
Saves the given credential identities to the store. Deprecated: since macOS 14.0.
func (*ASCredentialIdentityStore) SaveCredentialIdentityEntriesCompletion ¶
func (o *ASCredentialIdentityStore) SaveCredentialIdentityEntriesCompletion(credentialIdentities *foundation.NSArray[ASCredentialIdentity], completion func(bool, unsafe.Pointer))
Save the supplied credential identities to the store.
type ASCredentialIdentityStoreErrorCode ¶
type ASCredentialIdentityStoreErrorCode int64
Constants that represent credential identity store error codes.
const ( ASCredentialIdentityStoreErrorCodeInternalError ASCredentialIdentityStoreErrorCode = 0 ASCredentialIdentityStoreErrorCodeStoreDisabled ASCredentialIdentityStoreErrorCode = 1 ASCredentialIdentityStoreErrorCodeStoreBusy ASCredentialIdentityStoreErrorCode = 2 )
func (ASCredentialIdentityStoreErrorCode) String ¶
func (e ASCredentialIdentityStoreErrorCode) String() string
type ASCredentialIdentityStoreState ¶
type ASCredentialIdentityStoreState struct {
foundation.NSObject
}
A representation of the state of a credential identity store.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/ascredentialidentitystorestate
func ASCredentialIdentityStoreStateFromID ¶
func ASCredentialIdentityStoreStateFromID(id objc.ID) *ASCredentialIdentityStoreState
func (*ASCredentialIdentityStoreState) IsEnabled ¶
func (o *ASCredentialIdentityStoreState) IsEnabled() bool
@abstract Get the enabled state of the credential identity store. @result YES if the credential identity store is enabled. @dicussion You can only modify the credential identity store when it is enabled.
func (*ASCredentialIdentityStoreState) SupportsIncrementalUpdates ¶
func (o *ASCredentialIdentityStoreState) SupportsIncrementalUpdates() bool
@abstract Get whether the credential identity store supports incremental updates. @result YES if the credential identity store supports incremental updates. @discussion You should examine the value returned by this property to find out if the credential identity store can accept incremental updates. If incremental updates are supported, you can update the credential identity store with only the new changes since the last time it was updated. Otherwise, you should update the credential identity store by adding all credential identities.
type ASCredentialIdentityTypes ¶
type ASCredentialIdentityTypes uint64
The defined identity types for use in retrieving credentials.
const ( // A value that matches all identity types. ASCredentialIdentityTypesAll ASCredentialIdentityTypes = 0 ASCredentialIdentityTypesPassword ASCredentialIdentityTypes = 1 ASCredentialIdentityTypesPasskey ASCredentialIdentityTypes = 2 ASCredentialIdentityTypesOneTimeCode ASCredentialIdentityTypes = 4 )
func (ASCredentialIdentityTypes) String ¶
func (e ASCredentialIdentityTypes) String() string
type ASCredentialProviderExtensionContext ¶
type ASCredentialProviderExtensionContext struct {
foundation.NSExtensionContext
}
A mechanism that credential provider extensions use to communicate with the system.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/ascredentialproviderextensioncontext
func ASCredentialProviderExtensionContextFromID ¶
func ASCredentialProviderExtensionContextFromID(id objc.ID) *ASCredentialProviderExtensionContext
func (*ASCredentialProviderExtensionContext) CompleteAssertionRequestWithSelectedPasskeyCredentialCompletionHandler ¶
func (o *ASCredentialProviderExtensionContext) CompleteAssertionRequestWithSelectedPasskeyCredentialCompletionHandler(credential *ASPasskeyAssertionCredential, completionHandler func(bool))
Complete the passkey assertion request by providing the user-selected passkey credential.
func (*ASCredentialProviderExtensionContext) CompleteExtensionConfigurationRequest ¶
func (o *ASCredentialProviderExtensionContext) CompleteExtensionConfigurationRequest()
Completes the request to configure the extension.
func (*ASCredentialProviderExtensionContext) CompleteOneTimeCodeRequestWithSelectedCredentialCompletionHandler ¶
func (o *ASCredentialProviderExtensionContext) CompleteOneTimeCodeRequestWithSelectedCredentialCompletionHandler(credential *ASOneTimeCodeCredential, completionHandler func(bool))
Provides the user-selected one-time passcode (OTP).
func (*ASCredentialProviderExtensionContext) CompleteRegistrationRequestWithSelectedPasskeyCredentialCompletionHandler ¶
func (o *ASCredentialProviderExtensionContext) CompleteRegistrationRequestWithSelectedPasskeyCredentialCompletionHandler(credential *ASPasskeyRegistrationCredential, completionHandler func(bool))
Complete the registration request by providing the newly-created passkey credential.
func (*ASCredentialProviderExtensionContext) CompleteRequestWithSelectedCredentialCompletionHandler ¶
func (o *ASCredentialProviderExtensionContext) CompleteRequestWithSelectedCredentialCompletionHandler(credential *ASPasswordCredential, completionHandler func(bool))
Provides the user-selected credential.
type ASCredentialProviderViewController ¶
type ASCredentialProviderViewController struct {
appkit.NSViewController
}
A view controller that a credential manager app uses to extend AutoFill.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/ascredentialproviderviewcontroller
func ASCredentialProviderViewControllerFromID ¶
func ASCredentialProviderViewControllerFromID(id objc.ID) *ASCredentialProviderViewController
func (*ASCredentialProviderViewController) PerformPasskeyRegistrationWithoutUserInteractionIfPossible ¶
func (o *ASCredentialProviderViewController) PerformPasskeyRegistrationWithoutUserInteractionIfPossible(registrationRequest *ASPasskeyCredentialRequest)
Perform a conditional passkey registration, if possible.
func (*ASCredentialProviderViewController) PrepareCredentialListForServiceIdentifiers ¶
func (o *ASCredentialProviderViewController) PrepareCredentialListForServiceIdentifiers(serviceIdentifiers *foundation.NSArray[*ASCredentialServiceIdentifier])
Prepares the interface to display a list of credentials from which the user can select.
func (*ASCredentialProviderViewController) PrepareCredentialListForServiceIdentifiersRequestParameters ¶
func (o *ASCredentialProviderViewController) PrepareCredentialListForServiceIdentifiersRequestParameters(serviceIdentifiers *foundation.NSArray[*ASCredentialServiceIdentifier], requestParameters *ASPasskeyCredentialRequestParameters)
Prepares the interface to display a list of passkey and password credentials from which the user can select.
func (*ASCredentialProviderViewController) PrepareInterfaceForExtensionConfiguration ¶
func (o *ASCredentialProviderViewController) PrepareInterfaceForExtensionConfiguration()
Prepares the interface to enable the user to configure the extension.
func (*ASCredentialProviderViewController) PrepareInterfaceForPasskeyRegistration ¶
func (o *ASCredentialProviderViewController) PrepareInterfaceForPasskeyRegistration(registrationRequest ASCredentialRequest)
Prepare the view controller to show user interface for registering a new passkey.
func (*ASCredentialProviderViewController) PrepareInterfaceToProvideCredentialForIdentity ¶
func (o *ASCredentialProviderViewController) PrepareInterfaceToProvideCredentialForIdentity(credentialIdentity *ASPasswordCredentialIdentity)
Prepares the interface for a user interaction, like a database login, that enables it to access and return the credential for the given identity. Deprecated: since macOS 14.0.
func (*ASCredentialProviderViewController) PrepareInterfaceToProvideCredentialForRequest ¶
func (o *ASCredentialProviderViewController) PrepareInterfaceToProvideCredentialForRequest(credentialRequest ASCredentialRequest)
Prepare the view controller to show user interface for providing the requested credential.
func (*ASCredentialProviderViewController) PrepareOneTimeCodeCredentialListForServiceIdentifiers ¶
func (o *ASCredentialProviderViewController) PrepareOneTimeCodeCredentialListForServiceIdentifiers(serviceIdentifiers *foundation.NSArray[*ASCredentialServiceIdentifier])
Prepares the interface to display a list of one-time passcodes (OTPs) that people can select from.
func (*ASCredentialProviderViewController) ProvideCredentialWithoutUserInteractionForIdentity ¶
func (o *ASCredentialProviderViewController) ProvideCredentialWithoutUserInteractionForIdentity(credentialIdentity *ASPasswordCredentialIdentity)
Attempts to provide the user-requested credential with no further user interaction. Deprecated: since macOS 14.0.
func (*ASCredentialProviderViewController) ProvideCredentialWithoutUserInteractionForRequest ¶
func (o *ASCredentialProviderViewController) ProvideCredentialWithoutUserInteractionForRequest(credentialRequest ASCredentialRequest)
Attempts to provide the user-requested credential with no further user interaction.
func (*ASCredentialProviderViewController) ReportAllAcceptedPublicKeyCredentialsForRelyingPartyUserHandleAcceptedCredentialIDs ¶
func (o *ASCredentialProviderViewController) ReportAllAcceptedPublicKeyCredentialsForRelyingPartyUserHandleAcceptedCredentialIDs(relyingParty *foundation.NSString, userHandle *foundation.NSData, acceptedCredentialIDs *foundation.NSArray[*foundation.NSData])
Receives a report from the system that a relying party sent a snapshot of all accepted credentials for an account.
func (*ASCredentialProviderViewController) ReportPublicKeyCredentialUpdateForRelyingPartyUserHandleNewName ¶
func (o *ASCredentialProviderViewController) ReportPublicKeyCredentialUpdateForRelyingPartyUserHandleNewName(relyingParty *foundation.NSString, userHandle *foundation.NSData, newName *foundation.NSString)
Receives a report from the system that a relying party indicated that a passkey’s user name updated.
func (*ASCredentialProviderViewController) ReportUnknownPublicKeyCredentialForRelyingPartyCredentialID ¶
func (o *ASCredentialProviderViewController) ReportUnknownPublicKeyCredentialForRelyingPartyCredentialID(relyingParty *foundation.NSString, credentialID *foundation.NSData)
Receives a report from the system that a relying party indicated a passkey credential is invalid.
func (*ASCredentialProviderViewController) ReportUnusedPasswordCredentialForDomainUserName ¶
func (o *ASCredentialProviderViewController) ReportUnusedPasswordCredentialForDomainUserName(domain *foundation.NSString, userName *foundation.NSString)
Receives a report from the system that a relying party indicatd that a password credential isn’t needed anymore for a given user name.
type ASCredentialRequest ¶
type ASCredentialRequest interface {
foundation.NSSecureCoding
foundation.NSCopying
Type() ASCredentialRequestType
CredentialIdentity() ASCredentialIdentity
}
ASCredentialRequest wraps the ObjC protocol ASCredentialRequest.
type ASCredentialRequestType ¶
type ASCredentialRequestType int64
An enumeration that identifies different types of credentials that apps and websites can request.
const ( // The app or website is requesting a password credential. ASCredentialRequestTypePassword ASCredentialRequestType = 0 // The app or website is requesting a passkey assertion credential. ASCredentialRequestTypePasskeyAssertion ASCredentialRequestType = 1 // The app or website is requesting a passkey registration credential. ASCredentialRequestTypePasskeyRegistration ASCredentialRequestType = 2 // The app or website is requesting a one-time passcode. ASCredentialRequestTypeOneTimeCode ASCredentialRequestType = 3 )
func (ASCredentialRequestType) String ¶
func (e ASCredentialRequestType) String() string
type ASCredentialServiceIdentifier ¶
type ASCredentialServiceIdentifier struct {
foundation.NSObject
}
An identifier representing a particular service for which the user needs a credential, like a web site.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/ascredentialserviceidentifier
func ASCredentialServiceIdentifierFromID ¶
func ASCredentialServiceIdentifierFromID(id objc.ID) *ASCredentialServiceIdentifier
func (*ASCredentialServiceIdentifier) DisplayName ¶
func (o *ASCredentialServiceIdentifier) DisplayName() *foundation.NSString
A user visible name for the identifier. For `app` types it will contain the localized name of the app. For `URL` types it will contain the host name of the URL if it contains a valid host. For `URL` type identifiers that do not contain a valid host and for `domain` type identifiers, this will be equal to `identifier`. This property is meant only as a best effort suggestion for display purposes. It is not used by the system to identify the service or suggest a credential for AutoFill.
func (*ASCredentialServiceIdentifier) Identifier ¶
func (o *ASCredentialServiceIdentifier) Identifier() *foundation.NSString
@abstract Get the identifier. @result The service identifier.
func (*ASCredentialServiceIdentifier) InitWithIdentifierType ¶
func (o *ASCredentialServiceIdentifier) InitWithIdentifierType(identifier *foundation.NSString, type_ ASCredentialServiceIdentifierType) *ASCredentialServiceIdentifier
Initializes a credential service identifier instance.
func (*ASCredentialServiceIdentifier) InitWithIdentifierTypeDisplayName ¶
func (o *ASCredentialServiceIdentifier) InitWithIdentifierTypeDisplayName(identifier *foundation.NSString, type_ ASCredentialServiceIdentifierType, displayName *foundation.NSString) *ASCredentialServiceIdentifier
Initializes an ASCredentialServiceIdentifier object.
func (*ASCredentialServiceIdentifier) Type ¶
func (o *ASCredentialServiceIdentifier) Type() ASCredentialServiceIdentifierType
@abstract Get the service identifier type. @result The service identifier type.
type ASCredentialServiceIdentifierType ¶
type ASCredentialServiceIdentifierType int64
Possible values for the service identifier type.
const ( ASCredentialServiceIdentifierTypeDomain ASCredentialServiceIdentifierType = 0 ASCredentialServiceIdentifierTypeURL ASCredentialServiceIdentifierType = 1 // The service identifier represents an App ID. When a service identifier of this type is provided to your extension for saving a password, the ASCredentialServiceIdentifier object will have a non-nil `displayName` property that contains a user friendly name for the app. ASCredentialServiceIdentifierTypeApp ASCredentialServiceIdentifierType = 2 )
func (ASCredentialServiceIdentifierType) String ¶
func (e ASCredentialServiceIdentifierType) String() string
type ASExtensionErrorCode ¶
type ASExtensionErrorCode int64
The codes for a credential provider extension error.
const ( ASExtensionErrorCodeFailed ASExtensionErrorCode = 0 ASExtensionErrorCodeUserCanceled ASExtensionErrorCode = 1 ASExtensionErrorCodeUserInteractionRequired ASExtensionErrorCode = 100 ASExtensionErrorCodeCredentialIdentityNotFound ASExtensionErrorCode = 101 // This error should only be used for a passkey registration request, if the @c excludedCredentials property matches a known passkey. ASExtensionErrorCodeMatchedExcludedCredential ASExtensionErrorCode = 102 )
func (ASExtensionErrorCode) String ¶
func (e ASExtensionErrorCode) String() string
type ASOneTimeCodeCredential ¶
type ASOneTimeCodeCredential struct {
foundation.NSObject
}
A one-time passcode (OTP) credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asonetimecodecredential
func ASOneTimeCodeCredentialCredentialWithCode ¶
func ASOneTimeCodeCredentialCredentialWithCode(code *foundation.NSString) *ASOneTimeCodeCredential
@abstract Creates and initializes a new ASOneTimeCodeCredential object. @param code the one time code.
func ASOneTimeCodeCredentialFromID ¶
func ASOneTimeCodeCredentialFromID(id objc.ID) *ASOneTimeCodeCredential
func (*ASOneTimeCodeCredential) Code ¶
func (o *ASOneTimeCodeCredential) Code() *foundation.NSString
func (*ASOneTimeCodeCredential) InitWithCode ¶
func (o *ASOneTimeCodeCredential) InitWithCode(code *foundation.NSString) *ASOneTimeCodeCredential
Creates a one-time passcode (OTP) credential.
type ASOneTimeCodeCredentialIdentity ¶
type ASOneTimeCodeCredentialIdentity struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asonetimecodecredentialidentity
func ASOneTimeCodeCredentialIdentityFromID ¶
func ASOneTimeCodeCredentialIdentityFromID(id objc.ID) *ASOneTimeCodeCredentialIdentity
func (*ASOneTimeCodeCredentialIdentity) InitWithServiceIdentifierLabelRecordIdentifier ¶
func (o *ASOneTimeCodeCredentialIdentity) InitWithServiceIdentifierLabelRecordIdentifier(serviceIdentifier *ASCredentialServiceIdentifier, label *foundation.NSString, recordIdentifier *foundation.NSString) *ASOneTimeCodeCredentialIdentity
@abstract Initializes an instance of ASOneTimeCodeCredentialIdentity. @param serviceIdentifier The service identifier for which this credential identity is valid. @param label A user-provided label to identify the one time code. @param recordIdentifier An optional string to uniquely identify this record in your local database.
func (*ASOneTimeCodeCredentialIdentity) Label ¶
func (o *ASOneTimeCodeCredentialIdentity) Label() *foundation.NSString
type ASOneTimeCodeCredentialRequest ¶
type ASOneTimeCodeCredentialRequest struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/authenticationservices/asonetimecodecredentialrequest
func ASOneTimeCodeCredentialRequestFromID ¶
func ASOneTimeCodeCredentialRequestFromID(id objc.ID) *ASOneTimeCodeCredentialRequest
func (*ASOneTimeCodeCredentialRequest) InitWithCredentialIdentity ¶
func (o *ASOneTimeCodeCredentialRequest) InitWithCredentialIdentity(credentialIdentity *ASOneTimeCodeCredentialIdentity) *ASOneTimeCodeCredentialRequest
@abstract Initializes an instance of ASOneTimeCodeCredentialRequest. @param credentialIdentity the credential identity to use for this request.
type ASPasskeyAssertionCredential ¶
type ASPasskeyAssertionCredential struct {
foundation.NSObject
}
A passkey assertion credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasskeyassertioncredential
func ASPasskeyAssertionCredentialCredentialWithUserHandleRelyingPartySignatureClientDataHashAuthenticatorDataCredentialID ¶
func ASPasskeyAssertionCredentialCredentialWithUserHandleRelyingPartySignatureClientDataHashAuthenticatorDataCredentialID(userHandle *foundation.NSData, relyingParty *foundation.NSString, signature *foundation.NSData, clientDataHash *foundation.NSData, authenticatorData *foundation.NSData, credentialID *foundation.NSData) *ASPasskeyAssertionCredential
Creates and initializes a new passkey assertion credential.
func ASPasskeyAssertionCredentialFromID ¶
func ASPasskeyAssertionCredentialFromID(id objc.ID) *ASPasskeyAssertionCredential
func (*ASPasskeyAssertionCredential) AuthenticatorData ¶
func (o *ASPasskeyAssertionCredential) AuthenticatorData() *foundation.NSData
@abstract The authenticator data of the application that created this credential.
func (*ASPasskeyAssertionCredential) ClientDataHash ¶
func (o *ASPasskeyAssertionCredential) ClientDataHash() *foundation.NSData
@abstract The hash of the client data for this assertion result.
func (*ASPasskeyAssertionCredential) CredentialID ¶
func (o *ASPasskeyAssertionCredential) CredentialID() *foundation.NSData
@abstract The raw credential ID for this passkey credential.
func (*ASPasskeyAssertionCredential) ExtensionOutput ¶
func (o *ASPasskeyAssertionCredential) ExtensionOutput() *ASPasskeyAssertionCredentialExtensionOutput
@abstract The outputs of WebAuthn extensions processed by the credential provider.
func (*ASPasskeyAssertionCredential) InitWithUserHandleRelyingPartySignatureClientDataHashAuthenticatorDataCredentialID ¶
func (o *ASPasskeyAssertionCredential) InitWithUserHandleRelyingPartySignatureClientDataHashAuthenticatorDataCredentialID(userHandle *foundation.NSData, relyingParty *foundation.NSString, signature *foundation.NSData, clientDataHash *foundation.NSData, authenticatorData *foundation.NSData, credentialID *foundation.NSData) *ASPasskeyAssertionCredential
Initializes a passkey assertion credential object.
func (*ASPasskeyAssertionCredential) InitWithUserHandleRelyingPartySignatureClientDataHashAuthenticatorDataCredentialIDExtensionOutput ¶
func (o *ASPasskeyAssertionCredential) InitWithUserHandleRelyingPartySignatureClientDataHashAuthenticatorDataCredentialIDExtensionOutput(userHandle *foundation.NSData, relyingParty *foundation.NSString, signature *foundation.NSData, clientDataHash *foundation.NSData, authenticatorData *foundation.NSData, credentialID *foundation.NSData, extensionOutput *ASPasskeyAssertionCredentialExtensionOutput) *ASPasskeyAssertionCredential
Initializes a passkey assertion credential object, optionally specifying an extension output.
func (*ASPasskeyAssertionCredential) RelyingParty ¶
func (o *ASPasskeyAssertionCredential) RelyingParty() *foundation.NSString
@abstract The relying party of this credential.
func (*ASPasskeyAssertionCredential) SetExtensionOutput ¶
func (o *ASPasskeyAssertionCredential) SetExtensionOutput(extensionOutput *ASPasskeyAssertionCredentialExtensionOutput)
func (*ASPasskeyAssertionCredential) Signature ¶
func (o *ASPasskeyAssertionCredential) Signature() *foundation.NSData
@abstract The signature of this credential.
func (*ASPasskeyAssertionCredential) UserHandle ¶
func (o *ASPasskeyAssertionCredential) UserHandle() *foundation.NSData
@abstract The user handle of this passkey.
type ASPasskeyAssertionCredentialExtensionInput ¶
type ASPasskeyAssertionCredentialExtensionInput struct {
foundation.NSObject
}
A type that encapsulates input for various WebAuthn extensions during passkey assertion.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasskeyassertioncredentialextensioninput
func ASPasskeyAssertionCredentialExtensionInputFromID ¶
func ASPasskeyAssertionCredentialExtensionInputFromID(id objc.ID) *ASPasskeyAssertionCredentialExtensionInput
type ASPasskeyAssertionCredentialExtensionOutput ¶
type ASPasskeyAssertionCredentialExtensionOutput struct {
foundation.NSObject
}
A type that encapsulates output for various WebAuthn extensions during passkey assertion.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasskeyassertioncredentialextensionoutput
func ASPasskeyAssertionCredentialExtensionOutputFromID ¶
func ASPasskeyAssertionCredentialExtensionOutputFromID(id objc.ID) *ASPasskeyAssertionCredentialExtensionOutput
func (*ASPasskeyAssertionCredentialExtensionOutput) InitWithLargeBlobOutput ¶
func (o *ASPasskeyAssertionCredentialExtensionOutput) InitWithLargeBlobOutput(largeBlob *ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput) *ASPasskeyAssertionCredentialExtensionOutput
func (*ASPasskeyAssertionCredentialExtensionOutput) LargeBlobAssertionOutput ¶
func (o *ASPasskeyAssertionCredentialExtensionOutput) LargeBlobAssertionOutput() *ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput
type ASPasskeyCredentialIdentity ¶
type ASPasskeyCredentialIdentity struct {
foundation.NSObject
}
A description that uniquely identifies a particular passkey credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasskeycredentialidentity
func ASPasskeyCredentialIdentityFromID ¶
func ASPasskeyCredentialIdentityFromID(id objc.ID) *ASPasskeyCredentialIdentity
func ASPasskeyCredentialIdentityIdentityWithRelyingPartyIdentifierUserNameCredentialIDUserHandleRecordIdentifier ¶
func ASPasskeyCredentialIdentityIdentityWithRelyingPartyIdentifierUserNameCredentialIDUserHandleRecordIdentifier(relyingPartyIdentifier *foundation.NSString, userName *foundation.NSString, credentialID *foundation.NSData, userHandle *foundation.NSData, recordIdentifier *foundation.NSString) *ASPasskeyCredentialIdentity
Creates and initializes a passkey credential identity.
func (*ASPasskeyCredentialIdentity) CredentialID ¶
func (o *ASPasskeyCredentialIdentity) CredentialID() *foundation.NSData
@abstract The credential ID of this passkey credential. @discussion This field is used to identify the correct credential to use based on relying party request parameters.
func (*ASPasskeyCredentialIdentity) InitWithRelyingPartyIdentifierUserNameCredentialIDUserHandleRecordIdentifier ¶
func (o *ASPasskeyCredentialIdentity) InitWithRelyingPartyIdentifierUserNameCredentialIDUserHandleRecordIdentifier(relyingPartyIdentifier *foundation.NSString, userName *foundation.NSString, credentialID *foundation.NSData, userHandle *foundation.NSData, recordIdentifier *foundation.NSString) *ASPasskeyCredentialIdentity
Initializes a passkey credential identity.
func (*ASPasskeyCredentialIdentity) Rank ¶
func (o *ASPasskeyCredentialIdentity) Rank() int
@abstract Get or set the rank of the credential identity object. @discussion The system may utilize the rank to decide which credential identity precedes the other if two identities have the same service identifier. A credential identity with a larger rank value precedes one with a smaller value if both credential identities have the same service identifier. The default value of this property is 0.
func (*ASPasskeyCredentialIdentity) RecordIdentifier ¶
func (o *ASPasskeyCredentialIdentity) RecordIdentifier() *foundation.NSString
@abstract Get the record identifier. @result The record identifier. @discussion You can utilize the record identifier to uniquely identify the credential identity in your local database.
func (*ASPasskeyCredentialIdentity) RelyingPartyIdentifier ¶
func (o *ASPasskeyCredentialIdentity) RelyingPartyIdentifier() *foundation.NSString
@abstract The relying party identifier of this passkey credential. @discussion This field is reported as the serviceIdentifier property of ASCredentialIdentity.
func (*ASPasskeyCredentialIdentity) SetRank ¶
func (o *ASPasskeyCredentialIdentity) SetRank(rank int)
func (*ASPasskeyCredentialIdentity) UserHandle ¶
func (o *ASPasskeyCredentialIdentity) UserHandle() *foundation.NSData
@abstract The user handle of this passkey credential. @discussion This field is used to identify the correct credential to use based on relying party request parameters.
func (*ASPasskeyCredentialIdentity) UserName ¶
func (o *ASPasskeyCredentialIdentity) UserName() *foundation.NSString
@abstract The user name of this passkey credential. @discussion This field is reported as the user property of ASCredentialIdentity.
type ASPasskeyCredentialRequest ¶
type ASPasskeyCredentialRequest struct {
foundation.NSObject
}
A class that represents a request to supply a passkey credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasskeycredentialrequest
func ASPasskeyCredentialRequestFromID ¶
func ASPasskeyCredentialRequestFromID(id objc.ID) *ASPasskeyCredentialRequest
func ASPasskeyCredentialRequestRequestWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithms ¶
func ASPasskeyCredentialRequestRequestWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithms(credentialIdentity *ASPasskeyCredentialIdentity, clientDataHash *foundation.NSData, userVerificationPreference *foundation.NSString, supportedAlgorithms *foundation.NSArray[*foundation.NSNumber]) *ASPasskeyCredentialRequest
Initializes a passkey credential request, identifying supported algorithms by number.
func (*ASPasskeyCredentialRequest) AssertionExtensionInput ¶
func (o *ASPasskeyCredentialRequest) AssertionExtensionInput() *ASPasskeyAssertionCredentialExtensionInput
@abstract Inputs for WebAuthn extensions used for passkey assertion. Will be nil for registration requests.
func (*ASPasskeyCredentialRequest) ClientDataHash ¶
func (o *ASPasskeyCredentialRequest) ClientDataHash() *foundation.NSData
@abstract Hash of client data for credential provider to sign as part of the assertion/registration operation.
func (*ASPasskeyCredentialRequest) ExcludedCredentials ¶
func (o *ASPasskeyCredentialRequest) ExcludedCredentials() *foundation.NSArray[*ASAuthorizationPlatformPublicKeyCredentialDescriptor]
func (*ASPasskeyCredentialRequest) InitWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithms ¶
func (o *ASPasskeyCredentialRequest) InitWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithms(credentialIdentity *ASPasskeyCredentialIdentity, clientDataHash *foundation.NSData, userVerificationPreference *foundation.NSString, supportedAlgorithms *foundation.NSArray[*foundation.NSNumber]) *ASPasskeyCredentialRequest
Initializes a passkey credential request.
func (*ASPasskeyCredentialRequest) InitWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithmsAssertionExtensionInput ¶
func (o *ASPasskeyCredentialRequest) InitWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithmsAssertionExtensionInput(credentialIdentity *ASPasskeyCredentialIdentity, clientDataHash *foundation.NSData, userVerificationPreference *foundation.NSString, supportedAlgorithms *foundation.NSArray[*foundation.NSNumber], assertionExtensionInput *ASPasskeyAssertionCredentialExtensionInput) *ASPasskeyCredentialRequest
Initializes a passkey credential request, providing additional passkey registration data.
func (*ASPasskeyCredentialRequest) InitWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithmsRegistrationExtensionInput ¶
func (o *ASPasskeyCredentialRequest) InitWithCredentialIdentityClientDataHashUserVerificationPreferenceSupportedAlgorithmsRegistrationExtensionInput(credentialIdentity *ASPasskeyCredentialIdentity, clientDataHash *foundation.NSData, userVerificationPreference *foundation.NSString, supportedAlgorithms *foundation.NSArray[*foundation.NSNumber], registrationExtensionInput *ASPasskeyRegistrationCredentialExtensionInput) *ASPasskeyCredentialRequest
Initializes a passkey credential request, providing additional passkey registration data.
func (*ASPasskeyCredentialRequest) RegistrationExtensionInput ¶
func (o *ASPasskeyCredentialRequest) RegistrationExtensionInput() *ASPasskeyRegistrationCredentialExtensionInput
@abstract Inputs for WebAuthn extensions used for passkey registration. Will be nil for assertion requests.
func (*ASPasskeyCredentialRequest) SetUserVerificationPreference ¶
func (o *ASPasskeyCredentialRequest) SetUserVerificationPreference(userVerificationPreference *foundation.NSString)
func (*ASPasskeyCredentialRequest) SupportedAlgorithms ¶
func (o *ASPasskeyCredentialRequest) SupportedAlgorithms() *foundation.NSArray[*foundation.NSNumber]
@abstract A list of signing algorithms supported by the relying party. Will be empty for assertion requests.
func (*ASPasskeyCredentialRequest) UserVerificationPreference ¶
func (o *ASPasskeyCredentialRequest) UserVerificationPreference() *foundation.NSString
@abstract A preference for whether the authenticator should attempt to verify that it is being used by its owner, such as through a PIN or biometrics.
type ASPasskeyCredentialRequestParameters ¶
type ASPasskeyCredentialRequestParameters struct {
foundation.NSObject
}
A class that represents information about a passkey credential request.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasskeycredentialrequestparameters
func ASPasskeyCredentialRequestParametersFromID ¶
func ASPasskeyCredentialRequestParametersFromID(id objc.ID) *ASPasskeyCredentialRequestParameters
func (*ASPasskeyCredentialRequestParameters) AllowedCredentials ¶
func (o *ASPasskeyCredentialRequestParameters) AllowedCredentials() *foundation.NSArray[*foundation.NSData]
A list of allowed credential IDs for this request. An empty list means all credentials are allowed.
func (*ASPasskeyCredentialRequestParameters) ClientDataHash ¶
func (o *ASPasskeyCredentialRequestParameters) ClientDataHash() *foundation.NSData
Hash of client data for credential provider to sign as part of the operation.
func (*ASPasskeyCredentialRequestParameters) ExtensionInput ¶
func (o *ASPasskeyCredentialRequestParameters) ExtensionInput() *ASPasskeyAssertionCredentialExtensionInput
Inputs for WebAuthn extensions used for passkey assertion.
func (*ASPasskeyCredentialRequestParameters) RelyingPartyIdentifier ¶
func (o *ASPasskeyCredentialRequestParameters) RelyingPartyIdentifier() *foundation.NSString
The relying party identifier for this request.
func (*ASPasskeyCredentialRequestParameters) UserVerificationPreference ¶
func (o *ASPasskeyCredentialRequestParameters) UserVerificationPreference() *foundation.NSString
A preference for whether the authenticator should attempt to verify that it is being used by its owner, such as through a PIN or biometrics.
type ASPasskeyRegistrationCredential ¶
type ASPasskeyRegistrationCredential struct {
foundation.NSObject
}
A passkey registration credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasskeyregistrationcredential
func ASPasskeyRegistrationCredentialCredentialWithRelyingPartyClientDataHashCredentialIDAttestationObject ¶
func ASPasskeyRegistrationCredentialCredentialWithRelyingPartyClientDataHashCredentialIDAttestationObject(relyingParty *foundation.NSString, clientDataHash *foundation.NSData, credentialID *foundation.NSData, attestationObject *foundation.NSData) *ASPasskeyRegistrationCredential
Creates and initializes a new passkey registration credential.
func ASPasskeyRegistrationCredentialFromID ¶
func ASPasskeyRegistrationCredentialFromID(id objc.ID) *ASPasskeyRegistrationCredential
func (*ASPasskeyRegistrationCredential) AttestationObject ¶
func (o *ASPasskeyRegistrationCredential) AttestationObject() *foundation.NSData
@abstract The attestation object for this passkey registration result.
func (*ASPasskeyRegistrationCredential) ClientDataHash ¶
func (o *ASPasskeyRegistrationCredential) ClientDataHash() *foundation.NSData
@abstract The hash of the client data for this registration result.
func (*ASPasskeyRegistrationCredential) CredentialID ¶
func (o *ASPasskeyRegistrationCredential) CredentialID() *foundation.NSData
@abstract The raw credential identifier of this passkey.
func (*ASPasskeyRegistrationCredential) ExtensionOutput ¶
func (o *ASPasskeyRegistrationCredential) ExtensionOutput() *ASPasskeyRegistrationCredentialExtensionOutput
@abstract The outputs for WebAuthn extensions processed by the credential provider.
func (*ASPasskeyRegistrationCredential) InitWithRelyingPartyClientDataHashCredentialIDAttestationObject ¶
func (o *ASPasskeyRegistrationCredential) InitWithRelyingPartyClientDataHashCredentialIDAttestationObject(relyingParty *foundation.NSString, clientDataHash *foundation.NSData, credentialID *foundation.NSData, attestationObject *foundation.NSData) *ASPasskeyRegistrationCredential
Initializes a passkey registration credential object.
func (*ASPasskeyRegistrationCredential) InitWithRelyingPartyClientDataHashCredentialIDAttestationObjectExtensionOutput ¶
func (o *ASPasskeyRegistrationCredential) InitWithRelyingPartyClientDataHashCredentialIDAttestationObjectExtensionOutput(relyingParty *foundation.NSString, clientDataHash *foundation.NSData, credentialID *foundation.NSData, attestationObject *foundation.NSData, extensionOutput *ASPasskeyRegistrationCredentialExtensionOutput) *ASPasskeyRegistrationCredential
Initializes a passkey registration credential object.
func (*ASPasskeyRegistrationCredential) RelyingParty ¶
func (o *ASPasskeyRegistrationCredential) RelyingParty() *foundation.NSString
@abstract The relying party identifier associated with this passkey.
func (*ASPasskeyRegistrationCredential) SetExtensionOutput ¶
func (o *ASPasskeyRegistrationCredential) SetExtensionOutput(extensionOutput *ASPasskeyRegistrationCredentialExtensionOutput)
type ASPasskeyRegistrationCredentialExtensionInput ¶
type ASPasskeyRegistrationCredentialExtensionInput struct {
foundation.NSObject
}
A type that encapsulates input for various WebAuthn extensions during passkey registration.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasskeyregistrationcredentialextensioninput
func ASPasskeyRegistrationCredentialExtensionInputFromID ¶
func ASPasskeyRegistrationCredentialExtensionInputFromID(id objc.ID) *ASPasskeyRegistrationCredentialExtensionInput
type ASPasskeyRegistrationCredentialExtensionOutput ¶
type ASPasskeyRegistrationCredentialExtensionOutput struct {
foundation.NSObject
}
A type that encapsulates output for various WebAuthn extensions during passkey assertion.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasskeyregistrationcredentialextensionoutput
func ASPasskeyRegistrationCredentialExtensionOutputFromID ¶
func ASPasskeyRegistrationCredentialExtensionOutputFromID(id objc.ID) *ASPasskeyRegistrationCredentialExtensionOutput
func (*ASPasskeyRegistrationCredentialExtensionOutput) InitWithLargeBlobOutput ¶
func (o *ASPasskeyRegistrationCredentialExtensionOutput) InitWithLargeBlobOutput(largeBlob *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput) *ASPasskeyRegistrationCredentialExtensionOutput
func (*ASPasskeyRegistrationCredentialExtensionOutput) LargeBlobRegistrationOutput ¶
func (o *ASPasskeyRegistrationCredentialExtensionOutput) LargeBlobRegistrationOutput() *ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput
type ASPasswordCredential ¶
type ASPasswordCredential struct {
foundation.NSObject
}
A password credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasswordcredential
func ASPasswordCredentialCredentialWithUserPassword ¶
func ASPasswordCredentialCredentialWithUserPassword(user *foundation.NSString, password *foundation.NSString) *ASPasswordCredential
Creates a password credential instance with a given user name and password.
func ASPasswordCredentialFromID ¶
func ASPasswordCredentialFromID(id objc.ID) *ASPasswordCredential
func (*ASPasswordCredential) InitWithUserPassword ¶
func (o *ASPasswordCredential) InitWithUserPassword(user *foundation.NSString, password *foundation.NSString) *ASPasswordCredential
Initializes a password credential.
func (*ASPasswordCredential) Password ¶
func (o *ASPasswordCredential) Password() *foundation.NSString
@abstract The password of this credential. @result The password string.
func (*ASPasswordCredential) User ¶
func (o *ASPasswordCredential) User() *foundation.NSString
@abstract The user name of this credential. @result The user string.
type ASPasswordCredentialIdentity ¶
type ASPasswordCredentialIdentity struct {
foundation.NSObject
}
A description that uniquely identifies a particular password credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasswordcredentialidentity
func ASPasswordCredentialIdentityFromID ¶
func ASPasswordCredentialIdentityFromID(id objc.ID) *ASPasswordCredentialIdentity
func ASPasswordCredentialIdentityIdentityWithServiceIdentifierUserRecordIdentifier ¶
func ASPasswordCredentialIdentityIdentityWithServiceIdentifierUserRecordIdentifier(serviceIdentifier *ASCredentialServiceIdentifier, user *foundation.NSString, recordIdentifier *foundation.NSString) *ASPasswordCredentialIdentity
Creates and returns a password credential identity object with a service identifier.
func (*ASPasswordCredentialIdentity) InitWithServiceIdentifierUserRecordIdentifier ¶
func (o *ASPasswordCredentialIdentity) InitWithServiceIdentifierUserRecordIdentifier(serviceIdentifier *ASCredentialServiceIdentifier, user *foundation.NSString, recordIdentifier *foundation.NSString) *ASPasswordCredentialIdentity
Initializes a password credential identity.
func (*ASPasswordCredentialIdentity) Rank ¶
func (o *ASPasswordCredentialIdentity) Rank() int
@abstract Get or set the rank of the credential identity object. @discussion The system may utilize the rank to decide which credential identity precedes the other if two identities have the same service identifier. A credential identity with a larger rank value precedes one with a smaller value if both credential identities have the same service identifier. The default value of this property is 0.
func (*ASPasswordCredentialIdentity) RecordIdentifier ¶
func (o *ASPasswordCredentialIdentity) RecordIdentifier() *foundation.NSString
@abstract Get the record identifier. @result The record identifier. @discussion You can utilize the record identifier to uniquely identify the credential identity in your local database.
func (*ASPasswordCredentialIdentity) ServiceIdentifier ¶
func (o *ASPasswordCredentialIdentity) ServiceIdentifier() *ASCredentialServiceIdentifier
@abstract Get the service identifier. @result The service identifier for this credential identity.
func (*ASPasswordCredentialIdentity) SetRank ¶
func (o *ASPasswordCredentialIdentity) SetRank(rank int)
func (*ASPasswordCredentialIdentity) User ¶
func (o *ASPasswordCredentialIdentity) User() *foundation.NSString
@abstract Get the user. @result The user string.
type ASPasswordCredentialRequest ¶
type ASPasswordCredentialRequest struct {
foundation.NSObject
}
A class that represents a request to supply a password credential.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspasswordcredentialrequest
func ASPasswordCredentialRequestFromID ¶
func ASPasswordCredentialRequestFromID(id objc.ID) *ASPasswordCredentialRequest
func ASPasswordCredentialRequestRequestWithCredentialIdentity ¶
func ASPasswordCredentialRequestRequestWithCredentialIdentity(credentialIdentity *ASPasswordCredentialIdentity) *ASPasswordCredentialRequest
Creates and initializes a password credential request object.
func (*ASPasswordCredentialRequest) InitWithCredentialIdentity ¶
func (o *ASPasswordCredentialRequest) InitWithCredentialIdentity(credentialIdentity *ASPasswordCredentialIdentity) *ASPasswordCredentialRequest
Initializes a password credential request object.
type ASPublicKeyCredential ¶
type ASPublicKeyCredential interface {
ASAuthorizationCredential
RawClientDataJSON() *foundation.NSData
CredentialID() *foundation.NSData
}
ASPublicKeyCredential wraps the ObjC protocol ASPublicKeyCredential.
type ASPublicKeyCredentialClientData ¶
type ASPublicKeyCredentialClientData struct {
foundation.NSObject
}
This object represents the client data for a public key credential request, as defined in the WebAuthentication standard.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aspublickeycredentialclientdata
func ASPublicKeyCredentialClientDataFromID ¶
func ASPublicKeyCredentialClientDataFromID(id objc.ID) *ASPublicKeyCredentialClientData
func (*ASPublicKeyCredentialClientData) Challenge ¶
func (o *ASPublicKeyCredentialClientData) Challenge() *foundation.NSData
The challenge to be signed during the operation.
func (*ASPublicKeyCredentialClientData) CrossOrigin ¶
func (o *ASPublicKeyCredentialClientData) CrossOrigin() ASPublicKeyCredentialClientDataCrossOriginValue
Indicates whether this is a cross-origin request, if applicable.
func (*ASPublicKeyCredentialClientData) InitWithChallengeOrigin ¶
func (o *ASPublicKeyCredentialClientData) InitWithChallengeOrigin(challenge *foundation.NSData, origin *foundation.NSString) *ASPublicKeyCredentialClientData
func (*ASPublicKeyCredentialClientData) Origin ¶
func (o *ASPublicKeyCredentialClientData) Origin() *foundation.NSString
The origin for where the request was performed.
func (*ASPublicKeyCredentialClientData) SetChallenge ¶
func (o *ASPublicKeyCredentialClientData) SetChallenge(challenge *foundation.NSData)
func (*ASPublicKeyCredentialClientData) SetCrossOrigin ¶
func (o *ASPublicKeyCredentialClientData) SetCrossOrigin(crossOrigin ASPublicKeyCredentialClientDataCrossOriginValue)
func (*ASPublicKeyCredentialClientData) SetOrigin ¶
func (o *ASPublicKeyCredentialClientData) SetOrigin(origin *foundation.NSString)
func (*ASPublicKeyCredentialClientData) SetTopOrigin ¶
func (o *ASPublicKeyCredentialClientData) SetTopOrigin(topOrigin *foundation.NSString)
func (*ASPublicKeyCredentialClientData) TopOrigin ¶
func (o *ASPublicKeyCredentialClientData) TopOrigin() *foundation.NSString
The top-level origin, if applicable.
type ASPublicKeyCredentialClientDataCrossOriginValue ¶
type ASPublicKeyCredentialClientDataCrossOriginValue int64
const ( ASPublicKeyCredentialClientDataCrossOriginValueNotSet ASPublicKeyCredentialClientDataCrossOriginValue = 0 ASPublicKeyCredentialClientDataCrossOriginValueCrossOrigin ASPublicKeyCredentialClientDataCrossOriginValue = 1 ASPublicKeyCredentialClientDataCrossOriginValueSameOriginWithAncestors ASPublicKeyCredentialClientDataCrossOriginValue = 2 )
func (ASPublicKeyCredentialClientDataCrossOriginValue) String ¶
func (e ASPublicKeyCredentialClientDataCrossOriginValue) String() string
type ASSettingsHelper ¶
type ASSettingsHelper struct {
foundation.NSObject
}
A class that opens Settings and navigates to the settings for configuring credential providers.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/assettingshelper
func ASSettingsHelperFromID ¶
func ASSettingsHelperFromID(id objc.ID) *ASSettingsHelper
type ASUserAgeRange ¶
type ASUserAgeRange int64
const ( ASUserAgeRangeUnknown ASUserAgeRange = 0 ASUserAgeRangeChild ASUserAgeRange = 1 ASUserAgeRangeNotChild ASUserAgeRange = 2 )
func (ASUserAgeRange) String ¶
func (e ASUserAgeRange) String() string
type ASUserDetectionStatus ¶
type ASUserDetectionStatus int64
Possible values for the real user indicator.
const ( // The system can’t determine this user’s status as a real person. ASUserDetectionStatusUnsupported ASUserDetectionStatus = 0 // The system hasn’t determined whether the user might be a real person. ASUserDetectionStatusUnknown ASUserDetectionStatus = 1 // The user appears to be a real person. ASUserDetectionStatusLikelyReal ASUserDetectionStatus = 2 )
func (ASUserDetectionStatus) String ¶
func (e ASUserDetectionStatus) String() string
type ASWebAuthenticationPresentationContextProviding ¶
type ASWebAuthenticationPresentationContextProviding interface {
PresentationAnchorForWebAuthenticationSession(session *ASWebAuthenticationSession) *appkit.NSWindow
}
ASWebAuthenticationPresentationContextProviding wraps the ObjC protocol ASWebAuthenticationPresentationContextProviding.
type ASWebAuthenticationSession ¶
type ASWebAuthenticationSession struct {
foundation.NSObject
}
A session that an app uses to authenticate a user through a web service.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession
func ASWebAuthenticationSessionFromID ¶
func ASWebAuthenticationSessionFromID(id objc.ID) *ASWebAuthenticationSession
func (*ASWebAuthenticationSession) AdditionalHeaderFields ¶
func (o *ASWebAuthenticationSession) AdditionalHeaderFields() *foundation.NSDictionary[*foundation.NSString, *foundation.NSString]
Any additional header fields to be set when loading the initial URL. All header field names must start with the "X-" prefix.
func (*ASWebAuthenticationSession) CanStart ¶
func (o *ASWebAuthenticationSession) CanStart() bool
@abstract Returns whether the session can be successfully started. This property returns the same value as calling -start, but without the side effect of actually starting the session.
func (*ASWebAuthenticationSession) Cancel ¶
func (o *ASWebAuthenticationSession) Cancel()
Cancels a web authentication session.
func (*ASWebAuthenticationSession) InitWithURLCallbackCompletionHandler ¶
func (o *ASWebAuthenticationSession) InitWithURLCallbackCompletionHandler(uRL *foundation.NSURL, callback *ASWebAuthenticationSessionCallback, completionHandler func(*foundation.NSURL, unsafe.Pointer)) *ASWebAuthenticationSession
Creates a web authentication session instance that uses a callback to evaluate a redirection URL.
func (*ASWebAuthenticationSession) InitWithURLCallbackURLSchemeCompletionHandler ¶
func (o *ASWebAuthenticationSession) InitWithURLCallbackURLSchemeCompletionHandler(uRL *foundation.NSURL, callbackURLScheme *foundation.NSString, completionHandler func(*foundation.NSURL, unsafe.Pointer)) *ASWebAuthenticationSession
Creates a web authentication session instance. Deprecated: Use initWithURL:callback:completionHandler: instead
func (*ASWebAuthenticationSession) PrefersEphemeralWebBrowserSession ¶
func (o *ASWebAuthenticationSession) PrefersEphemeralWebBrowserSession() bool
@abstract Indicates whether this session should ask the browser for an ephemeral session. @discussion Ephemeral web browser sessions do not not share cookies or other browsing data with a user's normal browser session. This value is NO by default. Setting this property after calling -[ASWebAuthenticationSession start] has no effect.
func (*ASWebAuthenticationSession) PresentationContextProvider ¶
func (o *ASWebAuthenticationSession) PresentationContextProvider() ASWebAuthenticationPresentationContextProviding
@abstract Provides context to target where in an application's UI the authorization view should be shown. A provider must be set prior to calling -start, otherwise the authorization view cannot be displayed. If deploying to iOS prior to 13.0, the desired window is inferred by the application's key window.
func (*ASWebAuthenticationSession) SetAdditionalHeaderFields ¶
func (o *ASWebAuthenticationSession) SetAdditionalHeaderFields(additionalHeaderFields *foundation.NSDictionary[*foundation.NSString, *foundation.NSString])
func (*ASWebAuthenticationSession) SetPrefersEphemeralWebBrowserSession ¶
func (o *ASWebAuthenticationSession) SetPrefersEphemeralWebBrowserSession(prefersEphemeralWebBrowserSession bool)
func (*ASWebAuthenticationSession) SetPresentationContextProvider ¶
func (o *ASWebAuthenticationSession) SetPresentationContextProvider(presentationContextProvider ASWebAuthenticationPresentationContextProviding)
func (*ASWebAuthenticationSession) Start ¶
func (o *ASWebAuthenticationSession) Start() bool
Starts a web authentication session.
type ASWebAuthenticationSessionCallback ¶
type ASWebAuthenticationSessionCallback struct {
foundation.NSObject
}
An object for evaluating navigation events in an authentication session.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsessioncallback
func ASWebAuthenticationSessionCallbackCallbackWithCustomScheme ¶
func ASWebAuthenticationSessionCallbackCallbackWithCustomScheme(customScheme *foundation.NSString) *ASWebAuthenticationSessionCallback
Creates a callback object that matches against URLs with the given custom scheme. @param customScheme The custom scheme that the app expects in the callback URL.
func ASWebAuthenticationSessionCallbackCallbackWithHTTPSHostPath ¶
func ASWebAuthenticationSessionCallbackCallbackWithHTTPSHostPath(host *foundation.NSString, path *foundation.NSString) *ASWebAuthenticationSessionCallback
Creates a callback object that matches against HTTPS URLs with the given host and path. @param host The host that the app expects in the callback URL. The host must be associated with the app using associated web credentials domains. @param path The path that the app expects in the callback URL.
func ASWebAuthenticationSessionCallbackFromID ¶
func ASWebAuthenticationSessionCallbackFromID(id objc.ID) *ASWebAuthenticationSessionCallback
func (*ASWebAuthenticationSessionCallback) MatchesURL ¶
func (o *ASWebAuthenticationSessionCallback) MatchesURL(url *foundation.NSURL) bool
Check whether a given main-frame navigation URL matches the callback expected by the client app. Handles all URL-based callback strategies, including custom schemes and HTTPS navigations. This is mainly meant for web browsers adopting the ASWebAuthenticationWebBrowser API, but may also be useful for other apps for debugging purposes. @param url The URL to check.
type ASWebAuthenticationSessionErrorCode ¶
type ASWebAuthenticationSessionErrorCode int64
The error code for a web authentication session error.
const ( ASWebAuthenticationSessionErrorCodeCanceledLogin ASWebAuthenticationSessionErrorCode = 1 ASWebAuthenticationSessionErrorCodePresentationContextNotProvided ASWebAuthenticationSessionErrorCode = 2 ASWebAuthenticationSessionErrorCodePresentationContextInvalid ASWebAuthenticationSessionErrorCode = 3 )
func (ASWebAuthenticationSessionErrorCode) String ¶
func (e ASWebAuthenticationSessionErrorCode) String() string
type ASWebAuthenticationSessionRequest ¶
type ASWebAuthenticationSessionRequest struct {
foundation.NSObject
}
A login session request that a web browser receives from an app.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsessionrequest
func ASWebAuthenticationSessionRequestFromID ¶
func ASWebAuthenticationSessionRequestFromID(id objc.ID) *ASWebAuthenticationSessionRequest
func (*ASWebAuthenticationSessionRequest) AdditionalHeaderFields ¶
func (o *ASWebAuthenticationSessionRequest) AdditionalHeaderFields() *foundation.NSDictionary[*foundation.NSString, *foundation.NSString]
Additional headers to be sent when loading the initial URL. These should _only_ apply to the initial page, and should not overwrite any headers normally sent by the browser. Add `AdditionalHeaderFieldsAreSupported: true` to `ASWebAuthenticationSessionWebBrowserSupportCapabilities` in your browser's Info.plist file to indicate support for this.
func (*ASWebAuthenticationSessionRequest) Callback ¶
func (o *ASWebAuthenticationSessionRequest) Callback() *ASWebAuthenticationSessionCallback
The callback to listen for to complete this request. Check all main-frame navigations loaded during the request with this callback. It is used to handle all callback types, including custom schemes and HTTPS navigations. When a match is found, invoke `-completeWithCallbackURL:` with that URL. Add `CallbackURLMatchingIsSupported: true` to `ASWebAuthenticationSessionWebBrowserSupportCapabilities` in your browser's Info.plist file to indicate support for this.
func (*ASWebAuthenticationSessionRequest) CallbackURLScheme
deprecated
func (o *ASWebAuthenticationSessionRequest) CallbackURLScheme() *foundation.NSString
Deprecated: Use `callback` to match all callback types.
func (*ASWebAuthenticationSessionRequest) CancelWithError ¶
func (o *ASWebAuthenticationSessionRequest) CancelWithError(error_ unsafe.Pointer)
Indicates that the browser canceled the authentication attempt.
func (*ASWebAuthenticationSessionRequest) CompleteWithCallbackURL ¶
func (o *ASWebAuthenticationSessionRequest) CompleteWithCallbackURL(url *foundation.NSURL)
Indicates that the browser successfully completed the authentication attempt.
func (*ASWebAuthenticationSessionRequest) Delegate
deprecated
func (o *ASWebAuthenticationSessionRequest) Delegate() ASWebAuthenticationSessionRequestDelegate
Deprecated: Use `callback` to match all callback types.
func (*ASWebAuthenticationSessionRequest) SetDelegate ¶
func (o *ASWebAuthenticationSessionRequest) SetDelegate(delegate ASWebAuthenticationSessionRequestDelegate)
func (*ASWebAuthenticationSessionRequest) ShouldUseEphemeralSession
deprecated
func (o *ASWebAuthenticationSessionRequest) ShouldUseEphemeralSession() bool
Deprecated: Use `callback` to match all callback types.
func (*ASWebAuthenticationSessionRequest) URL ¶
func (o *ASWebAuthenticationSessionRequest) URL() *foundation.NSURL
func (*ASWebAuthenticationSessionRequest) UUID ¶
func (o *ASWebAuthenticationSessionRequest) UUID() *foundation.NSUUID
type ASWebAuthenticationSessionRequestDelegate ¶
type ASWebAuthenticationSessionRequestDelegate interface {
}
ASWebAuthenticationSessionRequestDelegate wraps the ObjC protocol ASWebAuthenticationSessionRequestDelegate.
type ASWebAuthenticationSessionWebBrowserSessionHandling ¶
type ASWebAuthenticationSessionWebBrowserSessionHandling interface {
BeginHandlingWebAuthenticationSessionRequest(request *ASWebAuthenticationSessionRequest)
CancelWebAuthenticationSessionRequest(request *ASWebAuthenticationSessionRequest)
}
ASWebAuthenticationSessionWebBrowserSessionHandling wraps the ObjC protocol ASWebAuthenticationSessionWebBrowserSessionHandling.
type ASWebAuthenticationSessionWebBrowserSessionManager ¶
type ASWebAuthenticationSessionWebBrowserSessionManager struct {
foundation.NSObject
}
A session manager that mediates sharing data between an app and a web browser.
Apple documentation: https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsessionwebbrowsersessionmanager
func ASWebAuthenticationSessionWebBrowserSessionManagerFromID ¶
func ASWebAuthenticationSessionWebBrowserSessionManagerFromID(id objc.ID) *ASWebAuthenticationSessionWebBrowserSessionManager
func ASWebAuthenticationSessionWebBrowserSessionManagerSharedManager ¶
func ASWebAuthenticationSessionWebBrowserSessionManagerSharedManager() *ASWebAuthenticationSessionWebBrowserSessionManager
func (*ASWebAuthenticationSessionWebBrowserSessionManager) SessionHandler ¶
func (o *ASWebAuthenticationSessionWebBrowserSessionManager) SessionHandler() ASWebAuthenticationSessionWebBrowserSessionHandling
func (*ASWebAuthenticationSessionWebBrowserSessionManager) SetSessionHandler ¶
func (o *ASWebAuthenticationSessionWebBrowserSessionManager) SetSessionHandler(sessionHandler ASWebAuthenticationSessionWebBrowserSessionHandling)
func (*ASWebAuthenticationSessionWebBrowserSessionManager) WasLaunchedByAuthenticationServices ¶
func (o *ASWebAuthenticationSessionWebBrowserSessionManager) WasLaunchedByAuthenticationServices() bool
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type CGLCPContextPriorityRequest ¶
type CGLCPContextPriorityRequest int64
const ( KCGLCPContextPriorityRequestHigh CGLCPContextPriorityRequest = 0 KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1 KCGLCPContextPriorityRequestLow CGLCPContextPriorityRequest = 2 )
func (CGLCPContextPriorityRequest) String ¶
func (e CGLCPContextPriorityRequest) String() string
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type MDLabelDomain ¶
type MDLabelDomain int64
@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int64
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int64
@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type NXMouseButton ¶
type NXMouseButton int64
const ( NX_OneButton NXMouseButton = 0 NX_LeftButton NXMouseButton = 1 NX_RightButton NXMouseButton = 2 )
func (NXMouseButton) String ¶
func (e NXMouseButton) String() string
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type Os_unfair_lock_flags_t ¶
type Os_unfair_lock_flags_t int64
const ( OS_UNFAIR_LOCK_FLAG_NONE Os_unfair_lock_flags_t = 0 OS_UNFAIR_LOCK_FLAG_ADAPTIVE_SPIN Os_unfair_lock_flags_t = 262144 )
func (Os_unfair_lock_flags_t) String ¶
func (e Os_unfair_lock_flags_t) String() string
type PMPageToPaperMappingType ¶
type PMPageToPaperMappingType int64
const ( KPMPageToPaperMappingNone PMPageToPaperMappingType = 1 KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2 )
func (PMPageToPaperMappingType) String ¶
func (e PMPageToPaperMappingType) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string
Source Files
¶
- ASAuthorization.go
- ASAuthorizationAppleIDButton.go
- ASAuthorizationAppleIDCredential.go
- ASAuthorizationAppleIDProvider.go
- ASAuthorizationAppleIDRequest.go
- ASAuthorizationController.go
- ASAuthorizationOpenIDRequest.go
- ASAuthorizationPasswordProvider.go
- ASAuthorizationPasswordRequest.go
- ASAuthorizationPlatformPublicKeyCredentialAssertion.go
- ASAuthorizationPlatformPublicKeyCredentialAssertionRequest.go
- ASAuthorizationPlatformPublicKeyCredentialDescriptor.go
- ASAuthorizationPlatformPublicKeyCredentialProvider.go
- ASAuthorizationPlatformPublicKeyCredentialRegistration.go
- ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.go
- ASAuthorizationProviderExtensionAuthorizationRequest.go
- ASAuthorizationProviderExtensionAuthorizationResult.go
- ASAuthorizationProviderExtensionKerberosMapping.go
- ASAuthorizationProviderExtensionLoginConfiguration.go
- ASAuthorizationProviderExtensionLoginManager.go
- ASAuthorizationProviderExtensionUserLoginConfiguration.go
- ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput.go
- ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput.go
- ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput.go
- ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput.go
- ASAuthorizationPublicKeyCredentialPRFAssertionInput.go
- ASAuthorizationPublicKeyCredentialPRFAssertionInputValues.go
- ASAuthorizationPublicKeyCredentialPRFAssertionOutput.go
- ASAuthorizationPublicKeyCredentialPRFRegistrationInput.go
- ASAuthorizationPublicKeyCredentialPRFRegistrationOutput.go
- ASAuthorizationPublicKeyCredentialParameters.go
- ASAuthorizationRequest.go
- ASAuthorizationSecurityKeyPublicKeyCredentialAssertion.go
- ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest.go
- ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor.go
- ASAuthorizationSecurityKeyPublicKeyCredentialProvider.go
- ASAuthorizationSecurityKeyPublicKeyCredentialRegistration.go
- ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest.go
- ASAuthorizationSingleSignOnCredential.go
- ASAuthorizationSingleSignOnProvider.go
- ASAuthorizationSingleSignOnRequest.go
- ASAuthorizationWebBrowserPlatformPublicKeyCredential.go
- ASAuthorizationWebBrowserPublicKeyCredentialManager.go
- ASCredentialIdentityStore.go
- ASCredentialIdentityStoreState.go
- ASCredentialProviderExtensionContext.go
- ASCredentialProviderViewController.go
- ASCredentialServiceIdentifier.go
- ASOneTimeCodeCredential.go
- ASOneTimeCodeCredentialIdentity.go
- ASOneTimeCodeCredentialRequest.go
- ASPasskeyAssertionCredential.go
- ASPasskeyAssertionCredentialExtensionInput.go
- ASPasskeyAssertionCredentialExtensionOutput.go
- ASPasskeyCredentialIdentity.go
- ASPasskeyCredentialRequest.go
- ASPasskeyCredentialRequestParameters.go
- ASPasskeyRegistrationCredential.go
- ASPasskeyRegistrationCredentialExtensionInput.go
- ASPasskeyRegistrationCredentialExtensionOutput.go
- ASPasswordCredential.go
- ASPasswordCredentialIdentity.go
- ASPasswordCredentialRequest.go
- ASPublicKeyCredentialClientData.go
- ASSettingsHelper.go
- ASWebAuthenticationSession.go
- ASWebAuthenticationSessionCallback.go
- ASWebAuthenticationSessionRequest.go
- ASWebAuthenticationSessionWebBrowserSessionManager.go
- authenticationservices_enums.go
- authenticationservices_externs.go
- authenticationservices_functions.go
- authenticationservices_protocols.go
- authenticationservices_runtime.go
- doc.go