integration

package
v1.4.0-prerelease Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 4 Imported by: 0

README

Go Integration Test

This guide explains how to:

  1. Download a certificate from link.
  2. Download the .pex/.pem format
  3. Convert the .cert file to .pem file.
  4. Execute Go integration tests.

Prerequisites

  • Run openssl pkcs12 -in <path to the cert>/cert.pfx -out <Go source folder>/cert.pem -nodes -passin pass:''
  • It should be in the root folder of the microsoft-authentication-library-for-go

Steps

1. Running the tests
go test -race ./apps/tests/integration/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenCache

type TokenCache struct {
	// contains filtered or unexported fields
}

func (*TokenCache) Export

func (t *TokenCache) Export(ctx context.Context, cache cache.Marshaler, hints cache.ExportHints) error

func (*TokenCache) Print

func (t *TokenCache) Print() string

func (*TokenCache) Replace

func (t *TokenCache) Replace(ctx context.Context, cache cache.Unmarshaler, hints cache.ReplaceHints) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL