LogoLogo
GoDocGitHub
  • Introduction
  • FAQ
  • Authentication strategies
    • Overview
    • Strategies
      • Azure Certificate Auth
      • Azure Creds Auth
      • Azure Env-based Auth
      • Azure Device Flow
      • SAML Auth
      • AddIn Only
        • Configuration
      • NTLM Auth
      • NTLM (alternative)
      • On-Demand Auth
      • ADFS Auth
      • FBA Auth
      • TMG Auth
      • Anonymous
    • Dynamic auth
    • Custom Auth
  • SharePoint client
    • HTTP Client
    • Fluent API
    • Hooks
    • Retries
    • Context
  • Samples
    • Library Initiation
    • Basic CRUD
    • Documents
    • Chunk upload
    • Permissions
    • Groups & Users
    • Search API
    • User Profiles
    • Change API
    • Attachments
    • Record Management
    • Sending Emails
    • Property Bags
    • Recycle Bin
    • Feature management
    • Advanced item requests
    • Advanced add/update
    • Unmarshaling responses
  • Sandbox
    • Overview
  • Utilities
    • Headers presets
    • Cpass
    • Compatibility matrix
  • Contributing
    • Overview
    • Testing
Powered by GitBook
On this page
  • Authentication strategies
  • Additional strategies
  • Secrets encoding

Was this helpful?

Edit on GitHub
Export as PDF
  1. Authentication strategies

Overview

🔐 SharePoint authentication strategies implemented in Gosip

PreviousFAQNextStrategies

Last updated 2 years ago

Was this helpful?

Authentication strategies

Auth strategy should be selected corresponding to your SharePoint environment and its configuration.

Import path strategy "github.com/koltyakov/gosip/auth/{strategy}". Where /{strategy} stands for a strategy auth package.

/azurecert

✅

❌

/azurecreds

✅

❌

/azureenv

✅

❌

/device

✅

❌

/saml

✅

❌

/addin

✅

❌

/ntlm

❌

✅

/adfs

✅

✅

/fba

❌

✅

/tmg

❌

✅

JSON and struct representations are different in terms of language notations. So credentials parameters names in private.json files and declared as structs initiators vary.

Additional strategies

Gosip supports (ad hoc) strategies. Some worthy are boiled in to be added later on to the main package in a case of the demand.

Strategy name

SPO

On-Prem

Credentials sample(s)

On-Demand

✅

✅

Alternative NTLM

❌

✅

Secrets encoding

, ,

When storing credential in local private.json files, which can be handy in local development scenarios, we strongly recommend to encode secrets such as password or clientSecret using . Cpass converts a secret to an encrypted representation which can only be decrypted on the same machine where it was generated. This minimize incidental leaks, i.e. with git commits.

custom
the Sandbox
cpass
sample
see more
sample
spo
on-prem
on-prem (wap)
sample
sample
sample
sample
sample
sample
sample
sample