Skip to content

Commit

Permalink
Revert style to the way it was
Browse files Browse the repository at this point in the history
  • Loading branch information
d0z0 committed Aug 1, 2022
1 parent 712562c commit 64e1598
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/@aws-cdk/aws-apigatewayv2/lib/websocket/authorizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ export interface WebSocketAuthorizerAttributes {
* An authorizer for WebSocket Apis
* @resource AWS::ApiGatewayV2::Authorizer
*/
export class WebSocketAuthorizer
extends Resource
implements IWebSocketAuthorizer {
export class WebSocketAuthorizer extends Resource implements IWebSocketAuthorizer {
/**
* Import an existing WebSocket Authorizer into this CDK app.
*/
Expand Down Expand Up @@ -169,18 +167,14 @@ export interface IWebSocketRouteAuthorizer {
/**
* Bind this authorizer to a specified WebSocket route.
*/
bind(
options: WebSocketRouteAuthorizerBindOptions
): WebSocketRouteAuthorizerConfig;
bind(options: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig;
}

/**
* Explicitly configure no authorizers on specific WebSocket API routes.
*/
export class WebSocketNoneAuthorizer implements IWebSocketRouteAuthorizer {
public bind(
_: WebSocketRouteAuthorizerBindOptions,
): WebSocketRouteAuthorizerConfig {
public bind(_: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig {
return {
authorizationType: 'NONE',
};
Expand Down

0 comments on commit 64e1598

Please sign in to comment.