website logo
⌘K
Getting Started
Use Cases
Secure, Passwordless Login via Standard Protocols (OIDC, SAML2)
BlokSec for MFA / 2FA
Adding Passwordless Login to your In-House / Custom Application
BlokSec yuID Authenticator App
BlokSec Admin Console
FAQ's
Integrations
Microsoft 0365
Google Workspace
Salesforce
Dropbox
CyberArk Privileged Access Manager
IBM Security Verify
Custom OIDC
Custom SAML2
BlokSec SDK Integration (iOS)
Compatibility
Dependencies
Prerequisites
SDK Usage (Initialise)
New User Registration
Authentication
Account Association
Restore/Backup
API Reference
Docs powered by archbee 
1min

SDK Usage (Initialise)

Each method in BlokSec SDK is asynchronous.

Before using any API of the BlokSec SDK, its necessary to initialize the SDK. This can be done by accessing the shared instance of BlokSec of type BlokSecSDK:

 BlokSec.shared

Sample Usage

Swift
|
guard let bloksec = BlokSec.shared else {
// Failure Handling
return
}




Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
New User Registration
Docs powered by archbee