microsoft-authentication-library-for-go

module
v0.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: MIT

README

Microsoft Authentication Library (MSAL) for Go

MSAL for Go is a new addition to the MSAL family of libraries, has been made available in production ready preview to gauge customer interest and to gather feedback from the community. We welcome all contributors (see CONTRIBUTING.md) to help us grow our list of supported MSAL SDKs.

The Microsoft Authentication Library (MSAL) for Go is part of the Microsoft identity platform for developers (formerly named Azure AD) v2.0. It allows you to sign in users or apps with Microsoft identities (Azure AD and Microsoft Accounts) and obtain tokens to call Microsoft APIs such as Microsoft Graph or your own APIs registered with the Microsoft identity platform. It is built using industry standard OAuth2 and OpenID Connect protocols.

The latest code resides in the dev branch.

| ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------- |

Build Status

Go

Installation

Setting up Go

To install Go, visit this link.

Installing MSAL Go

go get -u github.com/doruk-gercel/microsoft-authentication-library-for-go/

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License").

Directories

Path Synopsis
apps
cache
Package cache allows third parties to implement external storage for caching token data for distributed systems or multiple local applications access.
Package cache allows third parties to implement external storage for caching token data for distributed systems or multiple local applications access.
confidential
Package confidential provides a client for authentication of "confidential" applications.
Package confidential provides a client for authentication of "confidential" applications.
internal/base
Package base contains a "Base" client that is used by the external public.Client and confidential.Client.
Package base contains a "Base" client that is used by the external public.Client and confidential.Client.
internal/base/internal/storage
Package storage holds all cached token information for MSAL.
Package storage holds all cached token information for MSAL.
internal/json
Package json provide functions for marshalling an unmarshalling types to JSON.
Package json provide functions for marshalling an unmarshalling types to JSON.
internal/json/types/time
Package time provides for custom types to translate time from JSON and other formats into time.Time objects.
Package time provides for custom types to translate time from JSON and other formats into time.Time objects.
internal/local
Package local contains a local HTTP server used with interactive authentication.
Package local contains a local HTTP server used with interactive authentication.
internal/oauth/ops
Package ops provides operations to various backend services using REST clients.
Package ops provides operations to various backend services using REST clients.
internal/oauth/ops/accesstokens
Package accesstokens exposes a REST client for querying backend systems to get various types of access tokens (oauth) for use in authentication.
Package accesstokens exposes a REST client for querying backend systems to get various types of access tokens (oauth) for use in authentication.
internal/oauth/ops/internal/comm
Package comm provides helpers for communicating with HTTP backends.
Package comm provides helpers for communicating with HTTP backends.
internal/oauth/ops/internal/grant
Package grant holds types of grants issued by authorization services.
Package grant holds types of grants issued by authorization services.
internal/oauth/ops/wstrust
Package wstrust provides a client for communicating with a WSTrust (https://en.wikipedia.org/wiki/WS-Trust#:~:text=WS%2DTrust%20is%20a%20WS,in%20a%20secure%20message%20exchange.) for the purposes of extracting metadata from the service.
Package wstrust provides a client for communicating with a WSTrust (https://en.wikipedia.org/wiki/WS-Trust#:~:text=WS%2DTrust%20is%20a%20WS,in%20a%20secure%20message%20exchange.) for the purposes of extracting metadata from the service.
internal/version
Package version keeps the version number of the client package.
Package version keeps the version number of the client package.
public
Package public provides a client for authentication of "public" applications.
Package public provides a client for authentication of "public" applications.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL