refactored WithPermissive to IsPermissive
This commit is contained in:
		@@ -273,8 +273,8 @@ func WithErrorHandler(opt ErrorHandler) Option {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// WithPermissive allows incoming requests to pass even if the client does not provide a token.
 | 
					// IsPermissive allows incoming requests to pass even if the client does not provide a token.
 | 
				
			||||||
func WithPermissive() Option {
 | 
					func IsPermissive() Option {
 | 
				
			||||||
	return func(opts *Options) {
 | 
						return func(opts *Options) {
 | 
				
			||||||
		opts.Permissive = true
 | 
							opts.Permissive = true
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user