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 { 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() |
@NgModule() |
||||
export class AbpOAuthModule { |
export class AbpOAuthModule { |
||||
static forRoot(): ModuleWithProviders<AbpOAuthModule> { |
static forRoot(): ModuleWithProviders<AbpOAuthModule> { |
||||
return { |
return { |
||||
ngModule: AbpOAuthModule, |
ngModule: AbpOAuthModule, |
||||
providers: [provideAbpOAuthConfig()], |
providers: [provideAbpOAuth()], |
||||
}; |
}; |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue