pub unsafe trait ASAuthorizationPublicKeyCredentialRegistrationRequest:
NSObjectProtocol
+ NSSecureCoding
+ NSCopying {
Show 13 methods
// Provided methods
unsafe fn relyingPartyIdentifier(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
unsafe fn userID(&self) -> Retained<NSData>
where Self: Sized + Message { ... }
unsafe fn setUserID(&self, user_id: &NSData)
where Self: Sized + Message { ... }
unsafe fn name(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
unsafe fn setName(&self, name: &NSString)
where Self: Sized + Message { ... }
unsafe fn displayName(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
unsafe fn setDisplayName(&self, display_name: Option<&NSString>)
where Self: Sized + Message { ... }
unsafe fn challenge(&self) -> Retained<NSData>
where Self: Sized + Message { ... }
unsafe fn setChallenge(&self, challenge: &NSData)
where Self: Sized + Message { ... }
unsafe fn userVerificationPreference(
&self,
) -> Retained<ASAuthorizationPublicKeyCredentialUserVerificationPreference>
where Self: Sized + Message { ... }
unsafe fn setUserVerificationPreference(
&self,
user_verification_preference: &ASAuthorizationPublicKeyCredentialUserVerificationPreference,
)
where Self: Sized + Message { ... }
unsafe fn attestationPreference(
&self,
) -> Retained<ASAuthorizationPublicKeyCredentialAttestationKind>
where Self: Sized + Message { ... }
unsafe fn setAttestationPreference(
&self,
attestation_preference: &ASAuthorizationPublicKeyCredentialAttestationKind,
)
where Self: Sized + Message { ... }
}
ASAuthorizationPublicKeyCredentialRegistrationRequest
only.Expand description
Provided Methods§
Sourceunsafe fn relyingPartyIdentifier(&self) -> Retained<NSString>
unsafe fn relyingPartyIdentifier(&self) -> Retained<NSString>
The Relying Party identifier used to scope this request.
Sourceunsafe fn userID(&self) -> Retained<NSData>
unsafe fn userID(&self) -> Retained<NSData>
An arbitrary byte sequence which will be stored alongside the credential and will be returned with the credential when authenticating with it in the future. May be used by a relying party to identify the user account this credential is associated with.
Sourceunsafe fn name(&self) -> Retained<NSString>
unsafe fn name(&self) -> Retained<NSString>
A human readable name to associate with a credential, which a user should be able to use to identify the credential.
Sourceunsafe fn displayName(&self) -> Option<Retained<NSString>>
unsafe fn displayName(&self) -> Option<Retained<NSString>>
A high level human readable name to associate with a credential, which should only be used for display.
Sourceunsafe fn setDisplayName(&self, display_name: Option<&NSString>)
unsafe fn setDisplayName(&self, display_name: Option<&NSString>)
Setter for displayName
.
Sourceunsafe fn challenge(&self) -> Retained<NSData>
unsafe fn challenge(&self) -> Retained<NSData>
The challenge which can be used to verify the authenticator’s attestation, if attestation is requested.
Sourceunsafe fn setChallenge(&self, challenge: &NSData)
unsafe fn setChallenge(&self, challenge: &NSData)
Setter for challenge
.
Sourceunsafe fn userVerificationPreference(
&self,
) -> Retained<ASAuthorizationPublicKeyCredentialUserVerificationPreference>
Available on crate feature ASAuthorizationPublicKeyCredentialConstants
only.
unsafe fn userVerificationPreference( &self, ) -> Retained<ASAuthorizationPublicKeyCredentialUserVerificationPreference>
ASAuthorizationPublicKeyCredentialConstants
only.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.
Sourceunsafe fn setUserVerificationPreference(
&self,
user_verification_preference: &ASAuthorizationPublicKeyCredentialUserVerificationPreference,
)
Available on crate feature ASAuthorizationPublicKeyCredentialConstants
only.
unsafe fn setUserVerificationPreference( &self, user_verification_preference: &ASAuthorizationPublicKeyCredentialUserVerificationPreference, )
ASAuthorizationPublicKeyCredentialConstants
only.Setter for userVerificationPreference
.
Sourceunsafe fn attestationPreference(
&self,
) -> Retained<ASAuthorizationPublicKeyCredentialAttestationKind>
Available on crate feature ASAuthorizationPublicKeyCredentialConstants
only.
unsafe fn attestationPreference( &self, ) -> Retained<ASAuthorizationPublicKeyCredentialAttestationKind>
ASAuthorizationPublicKeyCredentialConstants
only.A preference for the type of attestation that the authenticator should attempt to perform.
Sourceunsafe fn setAttestationPreference(
&self,
attestation_preference: &ASAuthorizationPublicKeyCredentialAttestationKind,
)
Available on crate feature ASAuthorizationPublicKeyCredentialConstants
only.
unsafe fn setAttestationPreference( &self, attestation_preference: &ASAuthorizationPublicKeyCredentialAttestationKind, )
ASAuthorizationPublicKeyCredentialConstants
only.Setter for attestationPreference
.
Trait Implementations§
Source§impl ProtocolType for dyn ASAuthorizationPublicKeyCredentialRegistrationRequest
impl ProtocolType for dyn ASAuthorizationPublicKeyCredentialRegistrationRequest
impl<T> ImplementedBy<T> for dyn ASAuthorizationPublicKeyCredentialRegistrationRequest
Implementations on Foreign Types§
impl<T> ASAuthorizationPublicKeyCredentialRegistrationRequest for ProtocolObject<T>
Implementors§
impl ASAuthorizationPublicKeyCredentialRegistrationRequest for ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest
only.impl ASAuthorizationPublicKeyCredentialRegistrationRequest for ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest
ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest
only.