Skip to content

azurefieldnotes/Avanade.AzureAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OAuth Posh AAD

Avanade.AzureAD PowerShell Module

A PowerShell Module for obtaining tokens and authorizing applications in Azure Active Directory.

For all intents and purposes this is a swath of ADAL.NET functionality reimplemented in PowerShell

Exposed Cmdlets

  • Approve-AzureADApplication
    • Approves an Azure AD Application Interactively and returns the Authorization Code
  • ConvertFrom-EncodedJWT
    • Converts an encoded JWT to an object representation
  • Get-AzureADAccessTokenFromCode
    • Retrieves an access token from a consent authorization code
  • Get-AzureADClientToken
    • Retrieves an access token as a an OAuth confidential client
  • Get-AzureADImplicitFlowToken
    • Retrieves an access token interactively for a web application with OAuth implicit flow enabled
  • Get-AzureADOpenIdConfiguration
    • Retrieves the OpenId connect configuration for the specified application
  • Get-AzureADUserRealm
    • Retrieves a the aggregate user realm data for the specified user principal name(s)
  • Get-AzureADUserToken
    • Retrieves an access token as a an OAuth public client
  • Get-AzureADClientAssertionToken
    • Retrieves an OAuth access token using a certificate
  • Get-WSTrustUserRealmDetails
    • Retrieves the WSFederation details for a given user prinicpal name
  • Get-AzureADRefreshToken
    • Retrieves an OAuth2 JWT using the refresh token framework
  • Test-JWTHasExpired
    • Test whether the current token has expired
  • Get-JWTExpiry
    • Return the current JWT expiry as a DateTime
  • Get-AzureADDiscoveryKey
    • Returns the set of openid discovery certficate details
  • ConvertFrom-AzureADDiscoveryKey
    • Converts an openid discovery key to a certificate

Notes

Version 1.2.5

  • Removed obsolete object parameter set

Read More at Azure Field Notes Blog or follow us on Twitter at @azurefieldnotes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published