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

Adding a new Authorizer for SAS Token Authentication #478

Merged
merged 2 commits into from
Oct 23, 2019

Commits on Oct 20, 2019

  1. Adding a new Authorizer for SAS Token Authentication

    This commit introduces a new Authorizer for authenticating with
    Blob Storage using a SAS Token
    
    ```
    $ go test -v ./autorest/ -run="TestSas"
    === RUN   TestSasNewSasAuthorizerEmptyToken
    --- PASS: TestSasNewSasAuthorizerEmptyToken (0.00s)
    === RUN   TestSasNewSasAuthorizerEmptyTokenWithWhitespace
    --- PASS: TestSasNewSasAuthorizerEmptyTokenWithWhitespace (0.00s)
    === RUN   TestSasNewSasAuthorizerValidToken
    --- PASS: TestSasNewSasAuthorizerValidToken (0.00s)
    === RUN   TestSasAuthorizerRequest
    --- PASS: TestSasAuthorizerRequest (0.00s)
        authorization_sas_test.go:76: [DEBUG] Testing Case "empty querystring without a prefix"..
        authorization_sas_test.go:76: [DEBUG] Testing Case "empty querystring with a prefix"..
        authorization_sas_test.go:76: [DEBUG] Testing Case "existing querystring without a prefix"..
        authorization_sas_test.go:76: [DEBUG] Testing Case "existing querystring with a prefix"..
    PASS
    ok  	github.com/Azure/go-autorest/autorest	0.011s
    ```
    tombuildsstuff committed Oct 20, 2019
    Configuration menu
    Copy the full SHA
    56d0a98 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2019

  1. minor clean-up

    jhendrixMSFT committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    3b7596d View commit details
    Browse the repository at this point in the history