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

Remove identity core classes from public api #1158

Merged
merged 7 commits into from
Jan 6, 2021
Merged

Conversation

antrix1989
Copy link
Contributor

@antrix1989 antrix1989 commented Nov 20, 2020

Proposed changes

We shouldn't have IdentityCore classes in the public API of MSAL.

Type of change

  • Feature work
  • Bug fix
  • Documentation
  • Engineering change
  • Test
  • Logging/Telemetry

Risk

  • High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
  • Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
  • Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)

Additional information

@antrix1989 antrix1989 requested a review from a team as a code owner November 20, 2020 00:09
@antrix1989 antrix1989 changed the title Remove identity core classes from public api. Remove identity core classes from public api Nov 20, 2020
Copy link
Contributor

@ameyapat ameyapat left a comment

Choose a reason for hiding this comment

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

@antrix1989 Does the authScheme parameter in below method in MSALErrorConvertor.m need to also conform to MSALAuthenticationSchemeProtocolInternal?

+ (NSError *)msalErrorFromMsidError:(NSError *)msidError
                     classifyErrors:(BOOL)shouldClassifyErrors
                 msalOauth2Provider:(MSALOauth2Provider *)oauth2Provider
                            correlationId:(NSUUID *)correlationId
                         authScheme:(id<MSALAuthenticationSchemeProtocol>)authScheme
                         popManager:(MSIDDevicePopManager *)popManager

@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. Please provide additional information if requested. Thank you for your contributions.

@stale stale bot added the stale-issue label Dec 25, 2020
@stale stale bot removed stale-issue labels Jan 6, 2021
@antrix1989
Copy link
Contributor Author

@antrix1989 Does the authScheme parameter in below method in MSALErrorConvertor.m need to also conform to MSALAuthenticationSchemeProtocolInternal?

+ (NSError *)msalErrorFromMsidError:(NSError *)msidError
                     classifyErrors:(BOOL)shouldClassifyErrors
                 msalOauth2Provider:(MSALOauth2Provider *)oauth2Provider
                            correlationId:(NSUUID *)correlationId
                         authScheme:(id<MSALAuthenticationSchemeProtocol>)authScheme
                         popManager:(MSIDDevicePopManager *)popManager

We don't use methods of MSALAuthenticationSchemeProtocolInternal there, so it is not needed.

@antrix1989 antrix1989 merged commit cde2b50 into dev Jan 6, 2021
@antrix1989 antrix1989 deleted the sedemche/fix_public_api branch January 6, 2021 22:36
@oldalton oldalton mentioned this pull request Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants