All Projects → orisano → go-adal

orisano / go-adal

Licence: MIT license
unofficial Active Directory Authentication Library for go

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go-adal

Ldaptools
LdapTools is a feature-rich LDAP library for PHP 5.6+.
Stars: ✭ 185 (+1221.43%)
Mutual labels:  active-directory
Zbang
zBang is a risk assessment tool that detects potential privileged account threats
Stars: ✭ 224 (+1500%)
Mutual labels:  active-directory
requests auth
Authentication classes to be used with requests
Stars: ✭ 28 (+100%)
Mutual labels:  active-directory
Ldapcherry
Web UI for managing users and groups in multiple directory services.
Stars: ✭ 194 (+1285.71%)
Mutual labels:  active-directory
Ad Password Protection
Active Directory password filter featuring breached password checking and custom complexity rules
Stars: ✭ 210 (+1400%)
Mutual labels:  active-directory
Testimo
Testimo is PowerShell module for running health checks for Active Directory (and later on any other server type) against a bunch of different tests
Stars: ✭ 249 (+1678.57%)
Mutual labels:  active-directory
Cypheroth
Automated, extensible toolset that runs cypher queries against Bloodhound's Neo4j backend and saves output to spreadsheets.
Stars: ✭ 179 (+1178.57%)
Mutual labels:  active-directory
passport-activedirectory
Active Directory strategy for passport.js
Stars: ✭ 28 (+100%)
Mutual labels:  active-directory
Ad Ldap Enum
An LDAP based Active Directory user and group enumeration tool
Stars: ✭ 223 (+1492.86%)
Mutual labels:  active-directory
ActiveDirectoryEnumeration
Enumerate AD through LDAP with a collection of helpfull scripts being bundled
Stars: ✭ 127 (+807.14%)
Mutual labels:  active-directory
Awesome Windows Security
List of Awesome Windows Security Resources
Stars: ✭ 196 (+1300%)
Mutual labels:  active-directory
Powershell Scripts
PowerShell scripts ranging from SCCM, MSO, AD, and other corporate enterprise uses... to sending cat facts to coworkers.
Stars: ✭ 201 (+1335.71%)
Mutual labels:  active-directory
Adtimeline
Timeline of Active Directory changes with replication metadata
Stars: ✭ 252 (+1700%)
Mutual labels:  active-directory
Monitor Adgroupmembership
PowerShell script to monitor Active Directory groups and send an email when someone is changing the membership
Stars: ✭ 190 (+1257.14%)
Mutual labels:  active-directory
PSPasswordExpiryNotifications
Following PowerShell Module provides different approach to scheduling password notifications for expiring Active Directory based accounts. While most of the scripts require knowledge on HTML... this one is just one config file and a bit of tingling around with texts. Whether this is good or bad it's up to you to decide. I do plan to add an optio…
Stars: ✭ 38 (+171.43%)
Mutual labels:  active-directory
Macoslaps
Swift binary that will change a local administrator password to a random generated password. Similar behavior to LAPS for Windows
Stars: ✭ 182 (+1200%)
Mutual labels:  active-directory
Paw
Stars: ✭ 243 (+1635.71%)
Mutual labels:  active-directory
FindUncommonShares
FindUncommonShares.py is a Python equivalent of PowerView's Invoke-ShareFinder.ps1 allowing to quickly find uncommon shares in vast Windows Domains.
Stars: ✭ 186 (+1228.57%)
Mutual labels:  active-directory
active-directory-lookup
Simplest Java API (and CLI) for authenticating and searching in Active Directory
Stars: ✭ 15 (+7.14%)
Mutual labels:  active-directory
crimson-spray
A lockout aware password sprayer
Stars: ✭ 11 (-21.43%)
Mutual labels:  active-directory

go-ADAL

Build Status Code Climate

unofficial Active Directory Authentication Library for go.

Installation

go get github.com/orisano/go-adal

How to Use

package main

import (
	"context"
	"io"
	"log"
	"os"
	
	"github.com/orisano/go-adal"
)

const (
	tenant = "common"
	resource = "resource.example"
	clientID = "xxxxxxxxxxxxxxxxx"
	clientSecret = "xxxxxxxxxxxxxxxxx"
)

func main() {
	ac, err := adal.NewAuthenticationContext(tenant)
	if err != nil {
		log.Fatal(err)
	}
	ctx := context.Background()
	client, err := ac.Client(ctx, resource, clientID, clientSecret)
	if err != nil {
		log.Fatal(err)
	}
	resp, err := client.Get("http://api.example/v1/resource")
	if err != nil {
		log.Fatal(err)
	}
	defer resp.Body.Close()
	
	io.Copy(os.Stdout, resp.Body)
}

Author

Nao Yonashiro (@orisano)

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].