ApiOAuth2 decorator @ApiOAuth2(scopes: string[], name: string = 'oauth2') Parameters Option Type Description scopes string[] name string Optional. Default is 'oauth2'.