Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add grant function on AuthService #15788

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

mahmut-gundogdu
Copy link
Contributor

Description

Resolves #15713 (write the related issue number if available)

TODO: Describe what this PR has changed, add screenshot or animated GIF if available, write if it is a breaking change, and how to fix the breaking changes for existing applications if so.

Checklist

  • I fully tested it as developer / designer and created unit / integration tests
  • I documented it (or no need to document or I will create a separate documentation issue)

How to test it?

no need to test on abp repo. it just abstraction

@mahmut-gundogdu mahmut-gundogdu added this to the 7.0-patch milestone Feb 23, 2023
@mahmut-gundogdu mahmut-gundogdu changed the title dd grant function on AuthService add grant function on AuthService Feb 23, 2023
@@ -56,4 +65,6 @@ export interface IAuthService {
navigateToLogin(queryParams?: Params): void;

login(params: LoginParams): Observable<any>;

loginUsingGrant(grantType: string, parameters: object, headers?: HttpHeaders): Promise<AbstractModel>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this method can be optional

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can't mark as optional. That used on Abp commercial. I know the user have not use Oauth but we need that function for impersonate and link account.

@mahmut-gundogdu mahmut-gundogdu force-pushed the issue/15713_dd_grant_function_on_AuthService branch from b370a11 to bfe811c Compare February 24, 2023 13:39
@muhammedaltug muhammedaltug merged commit 1ae688c into rel-7.0 Feb 27, 2023
@muhammedaltug muhammedaltug deleted the issue/15713_dd_grant_function_on_AuthService branch February 27, 2023 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants