 a9b32e2f97
			
		
	
	a9b32e2f97
	
	
	
		
			
			add unbind flow execution Signed-off-by: Jens Langhammer <jens@goauthentik.io> Signed-off-by: Jens Langhammer <jens@goauthentik.io>
		
			
				
	
	
		
			15 lines
		
	
	
		
			302 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			302 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package bind
 | |
| 
 | |
| import (
 | |
| 	"context"
 | |
| 
 | |
| 	"github.com/nmcclain/ldap"
 | |
| )
 | |
| 
 | |
| type Binder interface {
 | |
| 	GetUsername(string) (string, error)
 | |
| 	Bind(username string, req *Request) (ldap.LDAPResultCode, error)
 | |
| 	Unbind(username string, req *Request) (ldap.LDAPResultCode, error)
 | |
| 	TimerFlowCacheExpiry(context.Context)
 | |
| }
 |