Trait ASAuthorizationPublicKeyCredentialAssertionRequest

Source
pub unsafe trait ASAuthorizationPublicKeyCredentialAssertionRequest:
    NSObjectProtocol
    + NSSecureCoding
    + NSCopying {
    // Provided methods
    unsafe fn challenge(&self) -> Retained<NSData>
       where Self: Sized + Message { ... }
    unsafe fn setChallenge(&self, challenge: &NSData)
       where Self: Sized + Message { ... }
    unsafe fn relyingPartyIdentifier(&self) -> Retained<NSString>
       where Self: Sized + Message { ... }
    unsafe fn setRelyingPartyIdentifier(
        &self,
        relying_party_identifier: &NSString,
    )
       where Self: Sized + Message { ... }
    unsafe fn allowedCredentials(
        &self,
    ) -> Retained<NSArray<ProtocolObject<dyn ASAuthorizationPublicKeyCredentialDescriptor>>>
       where Self: Sized + Message { ... }
    unsafe fn setAllowedCredentials(
        &self,
        allowed_credentials: &NSArray<ProtocolObject<dyn ASAuthorizationPublicKeyCredentialDescriptor>>,
    )
       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 { ... }
}
Available on crate feature ASAuthorizationPublicKeyCredentialAssertionRequest only.
Expand description

Provided Methods§

Source

unsafe fn challenge(&self) -> Retained<NSData>
where Self: Sized + Message,

The challenge to use when signing the request.

Source

unsafe fn setChallenge(&self, challenge: &NSData)
where Self: Sized + Message,

Setter for challenge.

Source

unsafe fn relyingPartyIdentifier(&self) -> Retained<NSString>
where Self: Sized + Message,

The Relying Party identifier used to scope this request.

Source

unsafe fn setRelyingPartyIdentifier(&self, relying_party_identifier: &NSString)
where Self: Sized + Message,

Source

unsafe fn allowedCredentials( &self, ) -> Retained<NSArray<ProtocolObject<dyn ASAuthorizationPublicKeyCredentialDescriptor>>>
where Self: Sized + Message,

Available on crate feature ASAuthorizationPublicKeyCredentialDescriptor only.

A list of credentials to allow for this request. If this list is nonempty, only credentials matching the provided descriptors can be used to sign in.

Source

unsafe fn setAllowedCredentials( &self, allowed_credentials: &NSArray<ProtocolObject<dyn ASAuthorizationPublicKeyCredentialDescriptor>>, )
where Self: Sized + Message,

Available on crate feature ASAuthorizationPublicKeyCredentialDescriptor only.

Setter for allowedCredentials.

Source

unsafe fn userVerificationPreference( &self, ) -> Retained<ASAuthorizationPublicKeyCredentialUserVerificationPreference>
where Self: Sized + Message,

Available on crate feature 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.

Source

unsafe fn setUserVerificationPreference( &self, user_verification_preference: &ASAuthorizationPublicKeyCredentialUserVerificationPreference, )
where Self: Sized + Message,

Available on crate feature ASAuthorizationPublicKeyCredentialConstants only.

Trait Implementations§

Source§

impl ProtocolType for dyn ASAuthorizationPublicKeyCredentialAssertionRequest

Source§

const NAME: &'static str = "ASAuthorizationPublicKeyCredentialAssertionRequest"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn ASAuthorizationPublicKeyCredentialAssertionRequest

Implementations on Foreign Types§

Source§

impl<T> ASAuthorizationPublicKeyCredentialAssertionRequest for ProtocolObject<T>

Implementors§

Source§

impl ASAuthorizationPublicKeyCredentialAssertionRequest for ASAuthorizationPlatformPublicKeyCredentialAssertionRequest

Available on crate feature ASAuthorizationPlatformPublicKeyCredentialAssertionRequest only.
Source§

impl ASAuthorizationPublicKeyCredentialAssertionRequest for ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest

Available on crate feature ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest only.