package grant

import "github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/internal/grant"

Package grant holds types of grants issued by authorization services.

Index

Constants

const (
	Password         = "password"
	JWT              = "urn:ietf:params:oauth:grant-type:jwt-bearer"
	SAMLV1           = "urn:ietf:params:oauth:grant-type:saml1_1-bearer"
	SAMLV2           = "urn:ietf:params:oauth:grant-type:saml2-bearer"
	DeviceCode       = "device_code"
	AuthCode         = "authorization_code"
	RefreshToken     = "refresh_token"
	ClientCredential = "client_credentials"
	ClientAssertion  = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
)

Source Files

grant.go

Version
v1.4.2 (latest)
Published
Mar 26, 2025
Platform
linux/amd64
Last checked
2 days ago

Tools for package owners.