npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

adal-azure-ios-plugin

v0.0.3

Published

this is custome plugin

Downloads

7

Readme

azure-capacitor-ms-identity-mobile-apple-swift-objc

https://github.com/bhandaribhumin/azure-capacitor-ms-identity-mobile-apple-swift-objc

REF: copy from https://github.com/Azure-Samples/ms-identity-mobile-apple-swift-objc

How to run this sample

To run this sample, you'll need:

  • Xcode
  • An internet connection

Step 1:

1A: Clone or download this repository

From Terminal:

npm install adal-azure-ios-plugin --save
git clone https://github.com/bhandaribhumin/azure-capacitor-ms-identity-mobile-apple-swift-objc

or download and extract the repository.zip file, and navigate to 'MSALiOS.xcworkspace' from the active-directory-ios-swift-native-v2 folder

1B: Installation

Load the podfile using cocoapods. This will create a new XCode Workspace you will load.

From terminal navigate to the directory where the podfile is located

$ pod install
...
$ open MSALiOS.xcworkspace

Step 2: (Optional)

2A: Register your App

This app comes pre-configured for testing. If you would like to register your own app, please follow the steps below.

To Register an app:

  1. Sign in to the Azure portal using either a work or school account.
  2. In the left-hand navigation pane, select the Azure Active Directory blade, and then select App registrations.
  3. Click on the New registration button at the top left of the page.
  4. On the app registration page,
    • Name your app
    • Under Supported account types, select Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
    • Click Register to finish.
  5. After the app is created, you'll land on your app management page. Take note of the Application (client) ID as this would be needed for the step 2B below.
  6. Click Authentication, and add new Redirect URI with type Public client (mobile & desktop). Enter redirect URI in format: msauth.<app_bundle_id>://auth. Replace <app_bundle_id> with the Bundle Identifier for your application.
  7. Hit the Save button in the top left, to save these updates.

2B: Configure your application

  1. Update your application's redirect URI scheme in the Info.plist file by replacing msauth.com.microsoft.identitysample.MSALiOS . Redirect URI scheme follows the format msauth.[app_bundle_id]. Make sure to substitue [app_bundle_id] with the Bundle Identifier for your application.
<key>CFBundleURLTypes</key>
<array>
  <dict>
    <key>CFBundleURLSchemes</key>
    <array>
      <string>msauth.[app_bundle_id]</string>
    </array>
  </dict>
</array>
  1. Configure your application defaults

In the ViewControler.swift file, update the kClientID variable with your Application (client) ID.

    // Update the client ID below with the one you received in the portal. Below ID is for running the sample app only.
    
    let kClientID = "66855f8a-60cd-445e-a9bb-8cd8eadbd3fa"