pub unsafe trait ASCredentialRequest:
NSObjectProtocol
+ NSSecureCoding
+ NSCopying {
// Provided methods
unsafe fn type(&self) -> ASCredentialRequestType
where Self: Sized + Message { ... }
unsafe fn credentialIdentity(
&self,
) -> Retained<ProtocolObject<dyn ASCredentialIdentity>>
where Self: Sized + Message { ... }
}Available on crate feature
ASCredentialRequest only.Expand description
ASCredentialRequest is used by Credential Provider Extensions to identify a credential to use for an authorization request. For passkey requests it also carries the assertion challenge to be used by the extension to create the assertion response.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn type(&self) -> ASCredentialRequestType
unsafe fn type(&self) -> ASCredentialRequestType
The type of credential used for this request.
Sourceunsafe fn credentialIdentity(
&self,
) -> Retained<ProtocolObject<dyn ASCredentialIdentity>>
Available on crate feature ASCredentialIdentity only.
unsafe fn credentialIdentity( &self, ) -> Retained<ProtocolObject<dyn ASCredentialIdentity>>
ASCredentialIdentity only.The credential identity selected by the user to authenticate.
Trait Implementations§
Source§impl ProtocolType for dyn ASCredentialRequest
impl ProtocolType for dyn ASCredentialRequest
impl<T> ImplementedBy<T> for dyn ASCredentialRequest
Implementations on Foreign Types§
impl<T> ASCredentialRequest for ProtocolObject<T>where
T: ?Sized + ASCredentialRequest,
Implementors§
impl ASCredentialRequest for ASOneTimeCodeCredentialRequest
Available on crate feature
ASOneTimeCodeCredentialRequest only.impl ASCredentialRequest for ASPasskeyCredentialRequest
Available on crate feature
ASPasskeyCredentialRequest only.impl ASCredentialRequest for ASPasswordCredentialRequest
Available on crate feature
ASPasswordCredentialRequest only.