@microsoft/rayfin-auth-provider-fabric
v1.36.2
Published
Fabric brokered authentication provider for Rayfin SDK
Readme
@microsoft/rayfin-auth-provider-fabric
Getting started
npm create @microsoft/rayfin@latestFor more details, visit our docs.
Direct Entra token sign-in
Already have a delegated Entra access token?
Use signInWithEntraToken to establish a Rayfin session on an existing Auth instance without a popup or iframe.
The helper supports browsers and Node.js.
import { signInWithEntraToken } from '@microsoft/rayfin-auth-provider-fabric';
const session = await signInWithEntraToken(client.auth, { entraToken });Configure the client with the target AppBackend's workload API base URL. The helper derives the direct token-exchange endpoint and makes the resulting Rayfin session available to attached SDK clients. See direct sign-in setup and usage for token requirements, Node.js usage, and session handling.
Security
Microsoft takes the security of our software products and services seriously, which includes all source code repositories in our GitHub organizations.
Please do not report security vulnerabilities through public GitHub issues.
For security reporting information, locations, contact information, and policies, please review the latest guidance for Microsoft repositories at https://aka.ms/SECURITY.md.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos must follow the Microsoft Trademark and Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third parties' policies.
License
Copyright (c) Microsoft Corporation.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
