mirror of https://github.com/abpframework/abp.git
7 changed files with 24 additions and 28 deletions
@ -1,15 +1,15 @@ |
|||
import { ModuleWithProviders, NgModule } from '@angular/core'; |
|||
import { provideAbpOAuthConfig } from './providers'; |
|||
import { provideAbpOAuth } from './providers'; |
|||
|
|||
/** |
|||
* @deprecated AbpOAuthModule is deprecated use `provideAbpOAuthConfig` *function* instead. |
|||
* @deprecated AbpOAuthModule is deprecated use `provideAbpOAuth` *function* instead. |
|||
*/ |
|||
@NgModule() |
|||
export class AbpOAuthModule { |
|||
static forRoot(): ModuleWithProviders<AbpOAuthModule> { |
|||
return { |
|||
ngModule: AbpOAuthModule, |
|||
providers: [provideAbpOAuthConfig()], |
|||
providers: [provideAbpOAuth()], |
|||
}; |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue