package
0.15.1
Repository: https://github.com/cisco-open/go-lanai.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BindManagementProperties create and bind SessionProperties, with a optional prefix.
No description provided by the author
No description provided by the author
NewAccessControlByPermissions returns a AccessControlCustomizer that uses SecurityProperties and given default permissions to setup access control of each endpoint.
NewAccessControlByScopes returns a AccessControlCustomizer that uses SecurityProperties and given default approved scopes to setup access control of each endpoint.
NewManagementProperties create a ManagementProperties with default values.
No description provided by the author
No description provided by the author
NewSimpleAccessControl is a convenient AccessControlCustomizer constructor that create simple access control rule to ALL paths of each endpoint.
NewTokenAuthSecurity returns a SecurityCustomizer config actuator security to use OAuth2 token auth.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
EndpointBase implements EndpointExecutor and partially Endpoint, and can be embedded into any Endpoint implementation it calls Operations using reflect.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WebEndpointBase is similar to EndpointBase and implements default WebEndpoint mapping.
No description provided by the author
No description provided by the author

# Interfaces

AccessControlCustomizer Similar to SecurityCustomizer, but is used to customize access control of each endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
OperationFunc is a func that have following signature: func(ctx context.Context, input StructsOrPointerType1) (StructsOrPointerType2, error) where - StructsOrPointerType1 and StructsOrPointerType2 can be any structs or struct pointers - input might be ignored by particular Endpoint impl.
SecurityCustomizer is a single SecurityCustomizer can be registered via Registrar SecurityCustomizer is typically responsible to setup authentication scheme it should not configure access control, which is configured per-endpoint via properties or AccessControlCustomizer.
No description provided by the author

# Type aliases

AccessControlCustomizeFunc convert a function to interface AccessControlCustomizer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SecurityCustomizerFunc convert a function to interface SecurityCustomizer.
No description provided by the author