Skip to content
This repository has been archived by the owner on Sep 9, 2018. It is now read-only.

micromdm/dep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dep is a client library for working with Apple's Device Enrollment Program

See godoc for detailed usage.

Usage

Configure and create an http client passing the Oauth credentials from the server token.

    config := dep.Config{
        ConsumerKey:    "CK_3a419c0b",
        ConsumerSecret: "CS_3fb23281",
        AccessToken:    "AT_O8473841",
        AccessSecret:   "AS_9d141598",
    }
    client, err := dep.NewClient(config)
    if err != nil {
        // handle err
    }

Use the new DEP client:

    account, err := client.Account()
    if err != nil {
        // handle err
    }

Example

In the examples folder, there's an example that you can try running against the depsim binary.

Releases

No releases published

Packages

No packages published

Languages