denisenkom / go-mssqldb

Microsoft SQL server driver written in go language
BSD 3-Clause "New" or "Revised" License
1.82k stars 499 forks source link

AAD authentication using access token #755

Closed RudraNirvan closed 1 year ago

RudraNirvan commented 2 years ago

Fixes #752.

Refer to the example file (examples/azuread-service-principal-authtoken/service_principal_authtoken.go) to understand how it will work.

CRLF difference is causing all the lines to be shown as changed, not sure if GitHub offers an option to ignore this while reviewing, suggestions are welcome.

codecov[bot] commented 2 years ago

Codecov Report

Merging #755 (9b08256) into master (1598eaf) will decrease coverage by 0.11%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #755      +/-   ##
==========================================
- Coverage   71.32%   71.21%   -0.12%     
==========================================
  Files          24       24              
  Lines        5388     5388              
==========================================
- Hits         3843     3837       -6     
- Misses       1301     1305       +4     
- Partials      244      246       +2     
Impacted Files Coverage Δ
fedauth.go 71.42% <ø> (ø)
tds.go 65.49% <0.00%> (-0.73%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1598eaf...9b08256. Read the comment docs.